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

Ability to run an openFOAM case at specific time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 16, 2020, 10:23
Question Ability to run an openFOAM case at specific time
  #1
New Member
 
Max
Join Date: Sep 2019
Posts: 8
Rep Power: 6
Dikkeunit is on a distinguished road
Hey all,
I was wondering if someone knows a way to run a CFD case at a later time in the future. So, for example, you can say: run the command ./Allrun at this time. I have tried this with the at command that is available in Linux and this worked for everything except the allrun command. ./Allclean, for example, works as intended. When you give the command: at now + 1 minutes
at> ./Allclean
at><EOT>
It will clean the case one minute later. However when I try this with the following Allrun command it will run at the specific time, but the individual processes will not run and all return errors that the libaries can not be found.
Code:
[URE14@urepower8 512_F40_R30]$ at now + 1 minutes
at> ./Allrun > log
at> <EOT>
job 80 at Sat May 16 16:11:00 2020
Returns the log:
Running surfaceFeatureExtract on ../512_F40_R30

While the log.surfaceFeatureExtract returns:

surfaceFeatureExtract: error while loading shared libraries:
libsurfaceFeatureExtract.so: cannot open shared object file: No such file or directory

It seems the command can not find the libraries, but I assumed that the command should run in same shell as specified in the script right?
This is the allrun script:
Code:
#!/bin/sh
cd ${0%/*} || exit 1                        # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions    # Tutorial run functions

runApplication surfaceFeatureExtract
I was wondering if any of you have a different method to do this, or know how to solve this issue?
Thank you,
Max
Dikkeunit is offline   Reply With Quote

Reply

Tags
cfd, linux, openfoam 1812


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
Same SimpleFOAM Case converges with openFOAM 2.1 but diverges with openFOAM 2.0.1 alsdia OpenFOAM Running, Solving & CFD 3 October 22, 2012 11:25
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 23:49.