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

how to compile new thermodynamic library (basicPsiThermo)

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

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

Long story (http://www.cfd-online.com/Forums/ope...-operator.html) short: I figured out I need to add the line

Code:
//- 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.

Tibo
megacrout is offline   Reply With Quote

Old   February 2, 2012, 04:57
Default
  #2
Member
 
Tibo
Join Date: Jun 2011
Posts: 68
Rep Power: 14
megacrout is on a distinguished road
I actually did not need to go through all this.
http://www.cfd-online.com/Forums/ope...tml#post342408
megacrout is offline   Reply With Quote

Reply

Tags
basicpsithermo, basicrhothermo, thermophysical model

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
Compile boundary condition as a new dynamic library mohanphy OpenFOAM Programming & Development 22 January 21, 2021 06:53
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 16:49
Compile of the library is so slow liu OpenFOAM Running, Solving & CFD 1 July 15, 2005 03:49


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