CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Different Pressure Equation Formulation!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2018, 09:17
Talking Different Pressure Equation Formulation!
  #1
Member
 
godfatherBond's Avatar
 
Maximus Arelius
Join Date: Jan 2017
Location: Morocco
Posts: 34
Rep Power: 9
godfatherBond is on a distinguished road
Hi OF Community Members,
Greetings!

I need your expertise with the following problem.

I was going through Prof. Jasak's paper "Multi-dimensional simulation of thermal non-equilibrium channel flow!" where a different type of pressure equation was formulated as opposed to what is used in the variable density/compressible solvers of OpenFOAM.
https://www.sciencedirect.com/scienc...0193220900192X


In it the compressible/multiphase continuity is split from
\frac{\partial \bar{\rho} }{\partial t} 
+ \nabla \rho \tilde{U} = 0

to

\nabla \cdot \tilde{U} = -\frac{1}{\bar{\rho}} \frac{D \bar{\rho}}{Dt}

Now considering compressible flow only \bar{ \rho} = \bar{\rho} (\bar{p}).

Hence material derivative is expanded as
\nabla \cdot \tilde{U} = -\frac{1}{\bar{\rho}} \frac{D \bar{\rho}}{Dt}=-\frac{1}{\bar{\rho}}  \frac{\partial \bar{\rho}}{\partial \bar{p}} \frac{D \bar{p}}{D t}= -\frac{\psi}{\bar{\rho}} \big( \frac{\partial \bar{p}}{\partial t} + \nabla(\tilde{U} \bar{p}) - \bar{p}\nabla \cdot \tilde{U} \big).

It would be really helpful if you could share some thoughts on the following questions:

1.For a variable density flow with face flux as the Mass flux \rho U at face, the above equation will have volumetric flux phi, which is to be used to find mass flux by interpolation of density to the faces.
Where should this in a (say) compressible solver be done( just after phi update or elsewhere)?

2.If we treat the pressure terms on the RHS i.e \nabla(\tilde{U} \bar{p}), temporal term and source term \bar{p}\nabla \cdot \tilde{U} so as to impart numerical stability, then following phi = phi - pEqn.Flux() How will one update the volumetric fluxes as the pEqn now has a new convective term on the RHS following Dr.Jasak Thesis?

3.How is this kind of formulation different(physics wise) from that used in the regular openfoam solvers i.e. \psi \frac{\partial \bar{p}}{\partial t}    
        +
        \nabla \cdot (\bar{\rho} \vec{U}) = 0

Note: The \tilde {} are used for a Favre averaged framework. Also the \nabla  \cdot U is treated as done in incompressible solvers in OF.

Correct me if I am wrong anywhere!
Thanks in advance
__________________
--
🃏Maximus🃏

Last edited by godfatherBond; May 6, 2018 at 23:36.
godfatherBond is offline   Reply With Quote

Old   April 26, 2018, 05:52
Question
  #2
Member
 
godfatherBond's Avatar
 
Maximus Arelius
Join Date: Jan 2017
Location: Morocco
Posts: 34
Rep Power: 9
godfatherBond is on a distinguished road
Quote:
Originally Posted by godfatherBond View Post
Hi OF Community Members,

I was going through Prof. Jasak's paper "Multi-dimensional simulation of thermal non-equilibrium channel flow!" where a different type of pressure equation was formulated as opposed to what is used in the variable density/compressible solvers of OpenFOAM.
https://www.sciencedirect.com/scienc...0193220900192X


In it the compressible/multiphase continuity is split from
\frac{\partial \bar{\rho} }{\partial t} 
+ \nabla \rho \tilde{U} = 0

to

\nabla \cdot \tilde{U} = -\frac{1}{\bar{\rho}} \frac{D \bar{\rho}}{Dt}

Now considering compressible flow only \bar{ \rho} = \bar{\rho} (\bar{p}).

Hence material derivative is expanded as
\nabla \cdot \tilde{U} = -\frac{1}{\bar{\rho}} \frac{D \bar{\rho}}{Dt}=-\frac{1}{\bar{\rho}} \frac{\partial \bar{\rho}}{\partial \bar{p}} \frac{D \bar{p}}{D t}= -\frac{\psi}{\bar{\rho}} \big( \frac{\partial \bar{p}}{\partial t} + \nabla(\tilde{U} \bar{p}) - \bar{p}\nabla \cdot \tilde{U} \big).

My questions are:

1.For a variable density flow with face flux as the Mass flux \rho U at face, the above equation will have volumetric flux phi, which is to be used to find mass flux by interpolation of density to the faces.
Where should this in a (say) compressible solver be done( just after phi update or elsewhere)?

2.If we treat the pressure terms on the RHS i.e \nabla(\tilde{U} \bar{p}), temporal term and source term \bar{p}\nabla \cdot \tilde{U} so as to impart numerical stability, then following phi = phi - pEqn.Flux() How will one update the volumetric fluxes as the pEqn now has a new convective term on the RHS following Dr.Jasak Thesis?

3.How is this kind of formulation different(physics wise) from that used in the regular openfoam solvers i.e. \psi \frac{\partial \bar{p}}{\partial t} 
+
\nabla \cdot (\bar{\rho} \vec{U}) = 0

Note: The \tilde {} are used for a Favre averaged framework. Also the \nabla \cdot U is treated as done in incompressible solvers in OF.

Correct me if I am wrong anywhere!
Thanks in advance
__________________
--
🃏Maximus🃏

Last edited by godfatherBond; April 30, 2018 at 00:07.
godfatherBond is offline   Reply With Quote

Old   June 13, 2018, 22:05
Default
  #3
Member
 
godfatherBond's Avatar
 
Maximus Arelius
Join Date: Jan 2017
Location: Morocco
Posts: 34
Rep Power: 9
godfatherBond is on a distinguished road
Hi FOAMers,
Still looking for an explanation.

It would be beneficial if you could spare some time and have a look into it.


Thanks
__________________
--
🃏Maximus🃏
godfatherBond is offline   Reply With Quote

Reply

Tags
cfd - post, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
question regarding LES of pipe flow - pimpleFoam Dan1788 OpenFOAM Running, Solving & CFD 37 December 26, 2017 14:42
Pressure Outlet Guage pressure Mohsin FLUENT 36 April 29, 2016 17:16
The correction on pressure equation of SIMPLE algorithm in MRFSimpleFOAM solver renyun0511 OpenFOAM Running, Solving & CFD 0 November 10, 2010 01:47
How to add correcting pressure equation in SIMPLE of MRFSimpleFOAM? renyun0511 OpenFOAM Programming & Development 0 November 4, 2010 01:38
Pressure enigma. Sara Main CFD Forum 22 July 30, 2009 04:46


All times are GMT -4. The time now is 07:43.