|
[Sponsors] |
December 9, 2024, 08:02 |
Dynamic Linking of a Custom EoS
|
#1 |
New Member
artearte
Join Date: Nov 2023
Posts: 1
Rep Power: 0 |
Working on OpenFoam-11, I am trying to dynamically link at run-time a compiled Equation of State. The selected EoS, which is the Soave Redlich Kwong, is added and compiled in a new thermophysicalModel/specie library (new_specie.so). (I use ready, published scripts for the new EoS and specie class.)
My attempt is, instead of recompiling all the models that depend on the specie class and/or recompiling the solver, to insert the new_specie.so during runtime as an external library (in the system/ControlDict dictionary). So to substitute the specie (in the constant/physical properties.some_chemical dictionary) that is used by default from the solver with my new_specie. Is this possible? |
|
Tags |
custom equation of state, custom specie, dynamic linking, new library |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] OpenFOAM dynamic library linking with GUIX. | Vivio | OpenFOAM Installation | 0 | May 17, 2024 10:49 |
custom code compilation error: library linking problem | nadine | OpenFOAM Programming & Development | 5 | October 10, 2014 10:58 |
Different errors when linking custom library via solver vs controlDict | chrisb2244 | OpenFOAM Programming & Development | 0 | February 21, 2014 04:12 |
Linking problems dynamic library | Van de Leur | OpenFOAM Programming & Development | 17 | August 2, 2012 11:52 |
OpenFOAM with Cygwin | kitchener | OpenFOAM Installation | 6 | April 25, 2006 00:09 |