CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Implementing new state equations in OpneFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 29, 2016, 13:45
Default Implementing new state equations in OpneFoam
  #1
New Member
 
RVeer
Join Date: Apr 2016
Location: Orlando, FL
Posts: 8
Rep Power: 2
Raghuveera is on a distinguished road
Dear All,

I am a new user to OpneFoam and trying to implement various real gas equations in OpenFoam (rhoPimpleFoam) state calculation. How and where I need to start modifying the existing code?

Basically, I want to create a switch between various models which I want to include for state calculation.

I wanted to have switching options between models like,

1) Ideal gas equation,
2) Virial model,
3) Peng-Robinson model,
4) Wohl model

etc...

Can any one provide me the initial guidance on how to plan this activity and which files needs to be modified?

Thanks,
Rveera
Raghuveera is offline   Reply With Quote

Old   June 30, 2016, 03:53
Default
  #2
New Member
 
Join Date: May 2016
Posts: 28
Rep Power: 2
g.freeman is on a distinguished road
Quote:
Originally Posted by Raghuveera View Post
Dear All,

I am a new user to OpneFoam and trying to implement various real gas equations in OpenFoam (rhoPimpleFoam) state calculation. How and where I need to start modifying the existing code?

Basically, I want to create a switch between various models which I want to include for state calculation.

I wanted to have switching options between models like,

1) Ideal gas equation,
2) Virial model,
3) Peng-Robinson model,
4) Wohl model

etc...

Can any one provide me the initial guidance on how to plan this activity and which files needs to be modified?

Thanks,
Rveera
Hey, try to look at this: http://cfd.direct/openfoam/user-guide/thermophysical/

In your directory, down to constant, there is a file named thermophysicalProperties, and you have to edit it for specifying which equation of state you want to use
g.freeman is offline   Reply With Quote

Reply

Tags
real gas effects, real gas model

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
unsteady state to steady state neetu kumari OpenFOAM 4 June 14, 2016 18:16
Guide: Writing Equations in LaTeX on the CFD Online Forums pete Site Help, Feedback & Discussions 20 June 16, 2015 13:52
error message cuteapathy CFX 14 March 20, 2012 07:45
Navier-Stokes equations in compressible flow GACEM Hatem Phoenics 1 June 3, 2001 05:30
good equations of thermal property of CO2 under near- or super- critical state H.Zhang Main CFD Forum 0 December 2, 1998 16:43


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