Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
22 déc. 2011, 03:44 UTC−5
Hi
have you checked the (ut,vt,wt) variables? see the doc
--
Good luck
Ivar
Hi
have you checked the (ut,vt,wt) variables? see the doc
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
22 déc. 2011, 08:48 UTC−5
yes, i've used these variables, but what syntax would you use to evaluate them at a specific point? For instance, if I want the y-velocity at point 7 in my model, I'm thinking I should be able to write something like: vt(pt(7)) or vt('pt7') or vt(point7) or something like that? That way, I could track the velocity at a specific point and report this value during my parametric sweep.
And if I run a parametric sweep and put the expression "vt" in the "Global variables to evaluate" box then my output file will just report a bunch of zero values. Which doesn't make sense because my model is transient and moving with time (as I can see from postprocessing). So maybe the vt variable isn't available as a global variable during the parametric sweep?
I've even tried writing a global expression in the form of: vt*(x==x_1)*(y==y_1)*(z==z_1), where x_1, y_1, and z_1 are the coordinates of my point at which I want to evaluate the velocity. Maybe I need to call this point by is node number and not the point number in my model?
yes, i've used these variables, but what syntax would you use to evaluate them at a specific point? For instance, if I want the y-velocity at point 7 in my model, I'm thinking I should be able to write something like: vt(pt(7)) or vt('pt7') or vt(point7) or something like that? That way, I could track the velocity at a specific point and report this value during my parametric sweep.
And if I run a parametric sweep and put the expression "vt" in the "Global variables to evaluate" box then my output file will just report a bunch of zero values. Which doesn't make sense because my model is transient and moving with time (as I can see from postprocessing). So maybe the vt variable isn't available as a global variable during the parametric sweep?
I've even tried writing a global expression in the form of: vt*(x==x_1)*(y==y_1)*(z==z_1), where x_1, y_1, and z_1 are the coordinates of my point at which I want to evaluate the velocity. Maybe I need to call this point by is node number and not the point number in my model?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
22 déc. 2011, 09:39 UTC−5
Ok, I figured out what to do. I figured I would post this here in case anyone else runs into a similar situation. You can use an integration coupling variable applied to the point at which you want to evaluate the position, velocity, etc. (and I'm assuming any other variable) and just make sure the "Global Destination" checkbox is marked. That way it is available as a global variable to plot in your output file from the parametric sweep.
Ok, I figured out what to do. I figured I would post this here in case anyone else runs into a similar situation. You can use an integration coupling variable applied to the point at which you want to evaluate the position, velocity, etc. (and I'm assuming any other variable) and just make sure the "Global Destination" checkbox is marked. That way it is available as a global variable to plot in your output file from the parametric sweep.
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
23 déc. 2011, 04:03 UTC−5
Hi
indeed, the "pt(#)" operator you refer to is simply the "integration" = sum over a single point, slightly complex perhaps ? but perfectly mathematically understandable, no ?
--
Good luck
Ivar
Hi
indeed, the "pt(#)" operator you refer to is simply the "integration" = sum over a single point, slightly complex perhaps ? but perfectly mathematically understandable, no ?
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15 mars 2012, 14:02 UTC−4
I'm trying to solve an electro-thermal problem with a parametric sweep on the boundary conditions. Could you help me with the syntax for subdomain integration in the "global variables to evaluate" box of the parametric sweep?
I want to integrate the temperature over subdomains #7 through #17 at each value of the parameter.
Thanks
I'm trying to solve an electro-thermal problem with a parametric sweep on the boundary conditions. Could you help me with the syntax for subdomain integration in the "global variables to evaluate" box of the parametric sweep?
I want to integrate the temperature over subdomains #7 through #17 at each value of the parameter.
Thanks
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
5 juin 2013, 19:57 UTC−4
Ok, I figured out what to do. I figured I would post this here in case anyone else runs into a similar situation. You can use an integration coupling variable applied to the point at which you want to evaluate the position, velocity, etc. (and I'm assuming any other variable) and just make sure the "Global Destination" checkbox is marked. That way it is available as a global variable to plot in your output file from the parametric sweep.
Hi
where is the global destination checkbox?
I have always this error :\
Unknown function or operator.
- Name: aveop1
I am trying to make a simulation where I need to change boundary conditions according to the domain average temperature.
Many thanks :)
[QUOTE]
Ok, I figured out what to do. I figured I would post this here in case anyone else runs into a similar situation. You can use an integration coupling variable applied to the point at which you want to evaluate the position, velocity, etc. (and I'm assuming any other variable) and just make sure the "Global Destination" checkbox is marked. That way it is available as a global variable to plot in your output file from the parametric sweep.
[/QUOTE]
Hi
where is the global destination checkbox?
I have always this error :\
Unknown function or operator.
- Name: aveop1
I am trying to make a simulation where I need to change boundary conditions according to the domain average temperature.
Many thanks :)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
30 juin 2013, 08:40 UTC−4
Another way to problem, you may use the "Probe" and Probe plot to store the velocity of one special point.
You can find probe in the model definition in 4.3a Version.
Another way to problem, you may use the "Probe" and Probe plot to store the velocity of one special point.
You can find probe in the model definition in 4.3a Version.