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

Running Custom FiniteVolume Library replacing the out-of-the-box library on cluster

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2024, 06:12
Default Running Custom FiniteVolume Library replacing the out-of-the-box library on cluster
  #1
New Member
 
Adwaith Nath
Join Date: May 2021
Location: St John's, Canada
Posts: 5
Rep Power: 5
adwaith.nath is on a distinguished road
Hi,

I am trying to modify the MRF implementation in the finiteVolume library to incorporate the change in axis and origin with motion of a connected body.

As the library is a base library, the method I used to use the modifications is to build the whole finiteVolume library in $FOAM_USER_LIBBIN and use the same name as the original finiteVolume library i.e. "libfiniteVolume.so". As OpenFOAM searches the $FOAM_USER_LIBBIN first before the $FOAM_LIBBIN, my custom finiteVolume library is loaded and used in place of the in-built library. Another way I did this is to put the library in the folder and add it to the start of $LD_LIBRARY_PATH.

All the above methods work on my local computer. But when I try this on the cluster (supercomputer), it always loads the out-of-the-box / in-built version of finiteVolume. Could someone explain why this is happening and also probably suggest a better way to load and use my custom finiteVolume library in place of the in-built version on a cluster.

Kind regards
Adwaith Nath
adwaith.nath is offline   Reply With Quote

Reply

Tags
finitevolume, programming, super-computer


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
problem loading UDF library in parallel cluster Veera Gutti FLUENT 8 July 26, 2016 07:24
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 09:38
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 07:52
Junction Box Routine Shared Object Library sam CFX 0 March 3, 2008 12:52
Running FineTurbo on a Linux Cluster Philipp Höfliger Fidelity CFD 3 May 6, 2004 08:47


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