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

how to compile new thermodynamic library (basicPsiThermo)

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

Reply
 
LinkBack Thread Tools 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: 6
megacrout is on a distinguished road
Hello everyone,

Long story (error: no match for ´operator+=´) 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: 6
megacrout is on a distinguished road
I actually did not need to go through all this.
error: no match for ´operator+=´
megacrout is offline   Reply With Quote

Reply

Tags
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 Meshing & Mesh Conversion 15 August 6, 2015 06:20
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 06:45.