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.
Gravity effect
Posted Apr 19, 2012, 2:03 p.m. EDT Computational Fluid Dynamics (CFD) Version 5.0 13 Replies
Please login with a confirmed email address before reporting spam
Sorry for my newbie question. I'm trying to simulate 2D two-phase flow in porous media. I'm wondering whether COMSOL considers gravity effect when applying Two-Phase Darcy's Law physics.
Thank you,
Jiri
Please login with a confirmed email address before reporting spam
I'm not by my WS and I'm not using Darcy flow regularly, so I do not know for sure, but if it's possible it must come as a domain boundary load that you must add with a variable of the type "whatever_physics_tag".rho*g_const in the direction that is desired on your model.
As by default COMSOL does certainly not include a "turned on" gravity component, there i no way for COMOSL to know in which direction to apply any load, this is left to the users to define
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thank you for your quick reply.
There are two physics related to Darcy's law within Porous Media and Subsurface Flow: Darcy's Law (DL) and Two-Phase Darcy's Law (TPDL). The first one has the gravity component that can be literally turned on. Unfortunately, I cannot find anything related to gravity component within TPDL physics. I also noted that DL equations contain a gravity constant while TPDL equations not.
Thank you
Jiri
Please login with a confirmed email address before reporting spam
I have to include coriolis force and centrifugal force in Darcy's Law. I cannot figure out how to do that. please help. The author mentioned he knows how to include gravity in single phase . if would be helpful if he can tell how he does that.
Thanks
Please login with a confirmed email address before reporting spam
For fluid interface, the gravity can be defined in"volume force"
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
gravity fores act on the domain as Body or "volume" forces, defined such as "material.rho*g_const" in [N/m^3] along the direction wanted (and g_const is COMSOL's internal name for 9.81[m/s^2] see the doc).
A centrifugal force can be applied the same way but you should then define a cylindrical coordinate frame and use a material.rho*sys2.r*omega^2 where omega is the rotation in as 2*pi*freq[1/s]
material.rho is the density of the active materials, it's a new synonyme to solid.rho or ht.rho ... generic for all physics, check the 4.3 doc
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
I don't see a way to define body or volume forces in this module. All that is included is values for saturation and fluid/matrix properties.
All boundary conditions are related with flux.
Also when I expand the "Equation", I see
u=-k/m grap (P),
while it should be u=-k/m grap (P+rho*g*grad(D)).
Please login with a confirmed email address before reporting spam
you are right, no volume/body force here as in pure DL & TPDL you only solve for pressure, (I'm not often in these physics so I missed that one ;)
But you have it in FP, sh/could you use this one ?
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
I want to use Darcy model but there is no volume force option!
Is it possible to add the volume force as weak contribution?
If yes, then how? Can you give the weak contribution expression.
Thanks in advance.
Please login with a confirmed email address before reporting spam
u=-k/m grad(P), when the gravity turned off.
u=-k/m (grad(P)+rho*g). when the gravity turned on (g is gravity vector). This should be manually edited in the equation view...
Thanks Ivar,
I don't see a way to define body or volume forces in this module. All that is included is values for saturation and fluid/matrix properties.
All boundary conditions are related with flux.
Also when I expand the "Equation", I see
u=-k/m grap (P),
while it should be u=-k/m grap (P+rho*g*grad(D)).
Please login with a confirmed email address before reporting spam
Thanks for the post. I noticed a typing mistake in the equation.
u=-k/m grad(P), when the gravity turned off.
u=-k/m (grad(P)+rho*g). when the gravity turned on (g is gravity vector). This should be manually edited in the equation view...
Thanks Ivar,
I don't see a way to define body or volume forces in this module. All that is included is values for saturation and fluid/matrix properties.
All boundary conditions are related with flux.
Also when I expand the "Equation", I see
u=-k/m grap (P),
while it should be u=-k/m grap (P+rho*g*grad(D)).
Please login with a confirmed email address before reporting spam
--
Zarghaam
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.