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

Difference between interFoam and pimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2023, 17:08
Default Difference between interFoam and pimpleFoam
  #1
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Hello all
I know that interFOAM is a multiphase solver and it is usually used for bubbly flow, but I want to use it as a single phase solver which I think it must work exactly like pimpleFOAM, but it is very slow compare to pimpleFOAM. why?

The reason, I want to use interFOAM is that, I want to have p-rgh filed where pimpleFoam just gives p as an output.


Thanks,
Farzad
farzadmech is offline   Reply With Quote

Old   January 20, 2023, 19:59
Default
  #2
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
I checked the momentum equations(please see the attachment), and I am wondering if for single phase can I omit below red lines?

( mixture.surfaceTensionForce()
- ghf*fvc::snGrad(rho)
- fvc::snGrad(p_rgh)
) * mesh.magSf()

with these changes, it will be similar to pimpleFoam with p-rgh term but it must run much faster.

Thanks,
Farzad


Quote:
Originally Posted by farzadmech View Post
Hello all
I know that interFOAM is a multiphase solver and it is usually used for bubbly flow, but I want to use it as a single phase solver which I think it must work exactly like pimpleFOAM, but it is very slow compare to pimpleFOAM. why?

The reason, I want to use interFOAM is that, I want to have p-rgh filed where pimpleFoam just gives p as an output.


Thanks,
Farzad
Attached Images
File Type: jpg photo_2023-01-20_17-48-36.jpg (108.2 KB, 7 views)
farzadmech is offline   Reply With Quote

Old   January 20, 2023, 22:08
Default I need "p-rgh" field
  #3
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 8
farzadmech is on a distinguished road
Hello again
Actually, I just want to have "p-rgh" field and either both below methods are fine to me;
1) Using interFoam which is too slow(is there any way to make it faster for single phase simulation?)
2) Adding gravity to pimpleFoam

which one of the two methods are easier to implement?

Thanks,
Farzad
farzadmech is offline   Reply With Quote

Reply

Tags
interfoam, openfoam, p-rgh, pimplefoam


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
Questions about simulation free surface open channel flow by interFoam and pimpleFoam IsanM OpenFOAM Programming & Development 0 September 10, 2020 04:13
Adapting interFoam's floatingObject tutorial for pimpleFoam tecmul OpenFOAM Pre-Processing 1 July 14, 2019 13:57
InterFoam (PimpleFoam) not obeying DeltaT in ControlDict walakaka OpenFOAM Running, Solving & CFD 2 March 1, 2018 13:57
Gravity & pressure handle in interFoam dav.dap83 OpenFOAM Programming & Development 2 May 22, 2013 12:21
Different solutions comparing pisoFoam and interFoam AnjaMiehe OpenFOAM Running, Solving & CFD 8 June 13, 2012 17:12


All times are GMT -4. The time now is 06:31.