Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Integration Coupling Variables
Posted 4 mars 2011, 11:18 UTC−5 Parameters, Variables, & Functions Version 3.5a 5 Replies
Please login with a confirmed email address before reporting spam
Hi
I've been trying to make use of these potentially very powerful tools, but I've been having some issues.
Namely, I want to specify a boundary condition that simply matches what's going on in the domain for a particular variable. I've done the best I can with the information I've gleaned from the guides as well as these discussion forums and I can't see what I'm doing wrong.
I'm working on a transient analysis 2D multiphysics geometry with the Moving Mesh (ale) and Incompressible Navier-Stokes (ns) application modes, but I think the issue is more general than these specific modes.
I've defined an integration coupling variable over the subdomain: Name "B"; Expression "p" (pressure, right?); Integration order "4" (default); Frame "ale" (since I want it to change as the mesh deforms). I de-selected the "global" option, and instead I've specified it on the relevant boundary.
I've defined another Integration coupling variable, this time on the relevant boundary: Name "A"; Expression "1". The other options I've specified as the same for the variable B.
As far as I understand it, the units for B should be Newtons [N] and variable A should be an area [m^2].
But, when I specify a boundary expression (on the boundary to which I sent the variables A and B):
Pr = B/A,
it tells me that I have "inconsistent units".
What am I doing wrong?
I've been trying to make use of these potentially very powerful tools, but I've been having some issues.
Namely, I want to specify a boundary condition that simply matches what's going on in the domain for a particular variable. I've done the best I can with the information I've gleaned from the guides as well as these discussion forums and I can't see what I'm doing wrong.
I'm working on a transient analysis 2D multiphysics geometry with the Moving Mesh (ale) and Incompressible Navier-Stokes (ns) application modes, but I think the issue is more general than these specific modes.
I've defined an integration coupling variable over the subdomain: Name "B"; Expression "p" (pressure, right?); Integration order "4" (default); Frame "ale" (since I want it to change as the mesh deforms). I de-selected the "global" option, and instead I've specified it on the relevant boundary.
I've defined another Integration coupling variable, this time on the relevant boundary: Name "A"; Expression "1". The other options I've specified as the same for the variable B.
As far as I understand it, the units for B should be Newtons [N] and variable A should be an area [m^2].
But, when I specify a boundary expression (on the boundary to which I sent the variables A and B):
Pr = B/A,
it tells me that I have "inconsistent units".
What am I doing wrong?
5 Replies Last Post 11 mars 2011, 15:46 UTC−5