CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How does correctPhi.H work

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2016, 06:31
Default How does correctPhi.H work
New Member
Join Date: Sep 2015
Posts: 3
Rep Power: 10
rsc is on a distinguished road
I am trying to understand how the correctPhi.H routine in the DyMFoam solvers works. In Jasak (1996) p236, it says that when the mesh is updated, the terms H(U) and a_p need to be interpolated for the new mesh, and then the pressure equation resolved to calculate new, conservative face fluxes.

This is not how the DyMFoam solvers (eg pimpleDyMFoam, rhoPimpleDyMFoam) work though. What they do is first calculate new via Uf & mesh.Sf(), or rhoUf & mesh.Sf(). I guess Uf/rhoUf somehow gets interpolated when the mesh is updated.

The correctPhi code comes in after this. I assume that phi=(Uf & Sf) is not conservative, and that the correctPhi code somehow fixes this. Can anyone shed some light on where this correction equation comes from?
rsc is offline   Reply With Quote


dynamic mesh, flux correction

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
RP_Set_Integer does not work in parallel 86lolo Fluent UDF and Scheme Programming 2 July 3, 2014 11:37
Does CX_Interpret_String work in parallel? 86lolo Fluent UDF and Scheme Programming 2 June 30, 2014 04:36
Companies that lease software & hardware for cloud-based work? Catthan ANSYS 0 June 18, 2014 10:53
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 12:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 21:03

All times are GMT -4. The time now is 23:25.