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

shallowWaterFoam using PIMPLE without h.relax()

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2015, 02:39
Default shallowWaterFoam using PIMPLE without tmp and h.relax()
  #1
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 9
cfdopenfoam is on a distinguished road
dear foamers.

i am grateful that people are interested in shallowWaterFoam or the PIMPLE algo. but in OF-2.3.0, i got some questions about the shallowWaterFoam implemented with the PIMPLE.

(1) why the momentumPredictor hUEqn is not declared by tmp<fvVectorMatrix> and later cleared if pimple.nCorrPISO() <=1, as the UEqn in pimpleFoam?

(2) why the water depth h is not relaxed after the hEqn is solved, as the pEqn in pimpleFoam? can h.relax() be added and what's the effect on the result?

(3) since there is a temporal derivative in the hEqn, what makes it different with the general pressure equation (say pEqn in pimpleFoam). what does the hEqn.flux() do and why phi = phiHbyA + hEqn.flux() makes the fluxes conservative? or what is the conservative face flux for the hEqn with a temporal derivative?

if the above questions are related to (or depend on) what i intend to solve, please give me some hints if there is a general manner.

thanks in advance.

best,

karelke

Last edited by cfdopenfoam; November 20, 2015 at 23:57.
cfdopenfoam is offline   Reply With Quote

Old   November 22, 2015, 23:38
Default shallowWaterFoam using PIMPLE without tmp and h.relax()
  #2
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 9
cfdopenfoam is on a distinguished road
i've been struggling on these problems for several days. and i guess the PIMPLE may be some tricky for me.

so if anyone also works on the PIMPLE or the shallowWaterFoam, please comment, please help.

any advices or hints will make my day. thanks a lot.

/karelke
cfdopenfoam is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
error while running modified pimple solver R_21 OpenFOAM Programming & Development 0 May 28, 2015 06:59
A question on the PIMPLE algorithm GerhardHolzinger OpenFOAM Running, Solving & CFD 4 February 13, 2015 06:49
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 10:08
why PIMPLE doesn't converge at each time step but no diverging? immortality OpenFOAM Running, Solving & CFD 7 May 19, 2013 14:16


All times are GMT -4. The time now is 01:53.