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

Dynamic Linking of a Custom EoS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2024, 08:02
Default Dynamic Linking of a Custom EoS
  #1
New Member
 
artearte
Join Date: Nov 2023
Posts: 1
Rep Power: 0
artearte is on a distinguished road
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?
artearte is offline   Reply With Quote

Reply

Tags
custom equation of state, custom specie, dynamic linking, new library


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
[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


All times are GMT -4. The time now is 19:52.