CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Phoenics (http://www.cfd-online.com/Forums/phoenics/)
-   -   Source term in the mass balance equation (http://www.cfd-online.com/Forums/phoenics/52145-source-term-mass-balance-equation.html)

Mehdi BEN HAJ January 31, 2007 17:30

Source term in the mass balance equation
 
Hi,

I want to introduce an internal source term (q) in the mass balance equation for generating a water wave.

d(rho)/dt + div(rho*V) = q (1)

I think that the Plant command is:

PLANTBEGIN

**Instruction for q calculation (not given)

PATCH (SP1,PHASEM,IX1,IX2,1,NY,1,NZ,1,LSTEP)

<SORC01> VAL=q

COVAL (SP1,P1 , FIXFLU , GRND )

PLANTEND

Could some one confirm me that this Plant command is right to introduce a source term in equation (1)?

Thanks.


All times are GMT -4. The time now is 22:29.