Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Defining a probe relative to a moving mesh boundary
Posted 2010/08/31 3:52 JST 13 Replies
Please login with a confirmed email address before reporting spam
Under Model1 - Definitions - Domain Point Probe 1 - Point Selection is it possible do to something like this;
x: 0 y: boundary5 - 0.05?
If I knew the correct reference notation for "boundary5" would this work?
Attachments:
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
- Define an integral probe:
cl.ly/b730da4b4d8dfab72a15
- Define a variable
cl.ly/f9c5f7ab754e7786feee
- Use a global probe:
cl.ly/b69d397f2db2b6ba8707
- You get this:
cl.ly/ff4a99042fbbb5c05293
Right? ;)
Please login with a confirmed email address before reporting spam
Do you ot belieeve its easier like this fo keep trackon the long term ?
Still thanks for the procedure:)
--
Good luck
Ivar
Attachments:
Please login with a confirmed email address before reporting spam
Hi Danial
Do you ot belieeve its easier like this fo keep trackon the long term ?
Still thanks for the procedure:)
--
Good luck
Ivar
Right. It was just easier with cloud app as it takes screenshot, uploads, and make a short link into clipboard already with a quick shortcut. lazy guy here :)
I will upload to the forum next time.
Danial
Please login with a confirmed email address before reporting spam
thanks,
it basically because it's more reliable on long term, I have found good replies from 6 months agoo, but the links are then dead.
Stay somewhat lazy, it's often what save your life ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
For example in the attached model above, I had a domain point probe which was offset 0.05m from the bottom of boundary 5(on my oscillating plate). When the plate starts to oscillate the probe remains exactly in it's original position(x:0 y:-0.05). What I need to do instead is have the probe move with the oscillating plate but always be at a constant offset position. The formula for the oscillating plate is 0.1*sin(2*pi*2*t). So at t=0.125s, the plate has moved postive 0.1m in the y direction therefore I need my probe to be at x:0, y:0.05 at this time.
I added an offset to my posy variable, see posy_offset.png. Now when doing a Global Variable Probe I get a plot of the offset position from the oscillating plate, i.e. a sinusoid from -0.05 to 0.05. This is great but what I really need is to be able to plot the other model parameters like Voltage and Electric field at this offset oscillating position. I then went back to my Domain Point Probe and put in "posy" for my y position, see domain_no_posy.png. However as can be seen in the screenshot I get a unknown model parameter error when entering it. COMSOL seems to ignore this change and use the previously defined static postion. Do you have any tips?
Attachments:
Please login with a confirmed email address before reporting spam
I mostly split my object with a line/surface (interiour continuous boundary) and use that to define the probe plot line/area, if I understand you well this could be one way around.
Perhaps by playing with the other reference variables X,Y or Xm Ym you might find a way too, but the one above is probably the simplest one
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
One issue I can't seem to work around is the fact that a Domain Point Probe seems to require a number entered into it's coordinates. I can not enter an expression or a variable. Therefore it doesn't seem like I can create a Domain Point Probe which moves with time.
Please login with a confirmed email address before reporting spam
I agree splitting you object will only define a region fixed w.r.t to the geometry, and moving with the geometry. But you have mostly three reference frames in COMSOL, spatial (original), material (typically the deformed shapes in Structural) and mesh (as mesh might be different from the deformation i.e. cfd, ALE ...).
But I do not have any obvious answer to propose, would need some thinking and testing (have you tried to push it to "support" ?). It is though of interest for many cases, I agree
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thank you for your reply. I'm not clear on how splitting my object could help though. Could you provide some more information regarding that?
One issue I can't seem to work around is the fact that a Domain Point Probe seems to require a number entered into it's coordinates. I can not enter an expression or a variable. Therefore it doesn't seem like I can create a Domain Point Probe which moves with time.
I posted the only way I found so far. The problem is as you said, unlike v3.5a, Comsol 4 does not accept predefined points and frames but only coordinates. And, this is not helpful for the case of ALE. The only place you can define points and frame is coupling. So the way I posted is a workaround. If you find a better way, please post here.
Please login with a confirmed email address before reporting spam
What you should integrate is intop1(y-Y), which is the ALE displacement.
Please login with a confirmed email address before reporting spam
posy - is given by intop1(y)-0.05 based on the above method. using intop1(y-Y) returned the same result. see the attachment for a plot of posy Vs time. This represents the point(in spatial y domain) that is offset -0.05 from the bottom of the moving mesh(point 3), controlled by 0.1*sin(2*pi*2*t).
t, posy, es.Ey(posy), V(posy)
0, -0.05, ?, ?
0.125, 0.05, ?,?
0.375, -0.15, ?, ?
where es.Ey(posy) means the Electric Field in the Y direction at location x = 0, y = posy. Similarly for V(posy). I don't see how I can use a Global Variable Probe to get the Electric Field or Voltage though. Is this possible? When I try to use a Domain Point Probe with coordinates x = 0, y = posy, I get the uknown model parameter error mentioned about. I am somewhat new to COMSOL so if there is a way to get the Electric Field and Voltage at this varying(w/r/t time) y position let me know. I will probably contact support tomorrow regarding this. Thanks again!
Please login with a confirmed email address before reporting spam
Attachments:
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
Suggested Content
- FORUM Boundary Point Probe
- FORUM Defining a probe location using variables
- KNOWLEDGE BASE The Usage of Form Union and Form Assembly
- BLOG Probing Your Simulation Results
- FORUM Domain point probe in moving mesh