confused

General discussions about how to formulate a script for FlexPDE.

confused

Postby xinxin on Tue Apr 17, 2012 7:23 am

Dear moderator:
Recently i was confused with a equation in a example named {BUOYANT.PDE} in the FlexPDE software. The equation is as follows:
dt(U) + U.grad(U) + grad(p) = nu*div(grad(U)) + F (*)
this is incompressible form of the Navier-Stokes equations, nu is the kinematic viscosity, which is equal to mu/rho, where mu is dynamic viscosity and rho is density of liquid. So the problom is: if the above equation should be:
dt(U) + U.grad(U) +1/rho* grad(p) = nu*div(grad(U)) + 1/rho*F, (**)
However, the following calculation in that example is based on the (*), and result addresses the buoyant problem well. if in practical issue, can this method lead to false result? for body force F is different from 1/rho*F in eqution(**).
xinxin
 
Posts: 8
Joined: Thu Dec 01, 2011 9:50 pm

Re: confused

Postby moderator on Tue Apr 17, 2012 12:56 pm

Using dt(u) as the time derivative term dictates that the units of the equation be acceleration (length/time^2). Consistent with this demand, the equation will be dimensionally correct if F is interpreted as (force/mass) (which is equivalent to length/time^2), and P is interpreted as kinematic pressure (pressure/rho). In this latter term, it would be more transparent if we interpreted P as standard pressure and divided by rho, as you have indicated.

In the Boussinesq approximation, rho=rho0*[1+alpha(T-T0)], there is always some latitude as to when the variation of pressure can be ignored relative to the other terms. In this context, one can argue that moving the density in and out of the grad is justifiable.

However, FlexPDE does not have any built-in interpretation of units of measure. As in all FlexPDE scripts, it is up to the user to be sure that his interpretation of the units of the parameters of the equation result in dimensionally consistent equations.

FlexPDE example scripts are meant as demonstrations of the techniques of equation description, and not as definitive formulations of physical processes. Users are at all times free to formulate equations in a manner consistent with their understanding of their own area of application.
moderator
 
Posts: 310
Joined: Tue Jan 11, 2011 1:45 pm

Re: confused

Postby xinxin on Tue Apr 17, 2012 9:22 pm

Thank you very much for your careful interpretation!
Best wishes!
xinxin
 
Posts: 8
Joined: Thu Dec 01, 2011 9:50 pm


Return to FlexPDE Discussion

Who is online

Users browsing this forum: No registered users and 1 guest