CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

how to compile new thermodynamic library (basicPsiThermo)

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

LinkBack Thread Tools Display Modes
Old   January 24, 2012, 10:50
Default how to compile new thermodynamic library (basicPsiThermo)
Join Date: Jun 2011
Posts: 68
Rep Power: 8
megacrout is on a distinguished road
Hello everyone,

Long story ( short: I figured out I need to add the line

//- Return non-const access to the local density field [kg/m^3]
virtual volScalarField& rho();
at the end of basicPsiThermo.H - like basicRhoThermo.H reads - and compile my own thermo package in order to solve the problem I am having. It might not be the only change I have to do but IŽd like to compile that new library one first time. I am not sure about all the steps I have to go through before doing that, though.

I have to copy the required files to my Openfoam/user/src folder. But which files exactly? The folder basicPsiThermo does not contain any Make folder. The nearest one is two folders back (thermoPhysicalModels/basic contains a make and psiThermo among others, which in turn contains basicPsiThermo). So, do I have to copy all files of thermoPhysicalModels/basic?

Those questions are just a starting point. If you can advise on the following steps, please feel free!

Thanks in advance.

megacrout is offline   Reply With Quote

Old   February 2, 2012, 04:57
Join Date: Jun 2011
Posts: 68
Rep Power: 8
megacrout is on a distinguished road
I actually did not need to go through all this.
megacrout is offline   Reply With Quote


basicpsithermo, basicrhothermo, thermophysical 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
Compile boundary condition as a new dynamic library mohanphy OpenFOAM Programming & Development 19 November 18, 2016 10:07
compile a library aqua OpenFOAM 2 November 3, 2011 21:03
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51
OpenFOAM141dev linking error on IBM AIX 52 matthias OpenFOAM Installation 24 April 28, 2008 15:49
Compile of the library is so slow liu OpenFOAM Running, Solving & CFD 1 July 15, 2005 02:49

All times are GMT -4. The time now is 20:45.