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

[swak4Foam] How to even start swak4foam cases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2017, 09:26
Default How to even start swak4foam cases
  #1
New Member
 
Join Date: May 2017
Posts: 5
Rep Power: 8
mabubel is on a distinguished road
Hi,

I just set up my first simulation with Openfoam 1706+ docker image and imported geometries from Salome. Works so far.

Next I would like to run swak4foam examples to try groovybc. I installed the docker container and copied pulsedpitzdaily to my home folder.

The tutorial says the next step would be to run blochMesh, which works. I had a look into the system folder and this example seems to use pisoFoam so I started pisoFoam which leads to an error message about a missing turbulenceProperties file. As there is a turbulenceProperties.template file I guess pisoFoam is the wrong command.

I could not find a source on how to use swak4foam that describes the command I need to use. Any ideas?

kinder regards,
Mabubel
mabubel is offline   Reply With Quote

Old   November 5, 2017, 12:17
Default
  #2
New Member
 
Join Date: May 2017
Posts: 5
Rep Power: 8
mabubel is on a distinguished road
the next thing I tried (found it here: http://openfoamwiki.net/index.php/Contrib/PyFoam) was pyfoamrunner.py:

Code:
[me@799b435714a2 pulsedPitzDaily]$ pyFoamRunner.py pisoFoam 
 Reading regular expressions from /home/me/OpenFOAM/pulsedPitzDaily/customRegexp
 PyFoam WARNING on line 42 of file /usr/lib/python2.7/site-packages/PyFoam/Infrastructure/ServerBase.py : No certficate file /home/me/.pyFoam/foamServerCertificate.cert exists. Therefor no SSL-connection for the FoamServer possible
 To generate a private key:
    openssl genrsa -out /home/me/.pyFoam/foamServerCertificate.key 2048 
Then generate the cerificate that is valid for 3 years with 
    openssl req -new -x509 -key /home/me/.pyFoam/foamServerCertificate.key -out /home/me/.pyFoam/foamServerCertificate.cert -days 1095 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v1706                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : v1706
Arch   : "LSB;label=32;scalar=64"
Exec   : pisoFoam
Date   : Nov 05 2017
Time   : 14:34:57
Host   : "799b435714a2"
PID    : 355
Case   : /home/me/OpenFOAM/pulsedPitzDaily
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
    From function void* Foam::dlOpen(const Foam::fileName&, bool)
    in file POSIX.C at line 1321
    dlopen error : libswakPythonIntegration.so: cannot open shared object file: No such file or directory
--> FOAM Warning :
    From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 101
    could not load "libswakPythonIntegration.so"
profiling initialized
Create mesh for time = 0


PISO: Operating solver in PISO mode

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian


--> FOAM FATAL IO ERROR:
cannot find file

file: /home/me/OpenFOAM/pulsedPitzDaily/constant/turbulenceProperties at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 237.

FOAM exiting
But it did not work either.
mabubel is offline   Reply With Quote

Old   January 31, 2022, 19:13
Default
  #3
New Member
 
Sung Kwon
Join Date: Oct 2020
Posts: 12
Rep Power: 5
sungmin130 is on a distinguished road
Hi,
I am having a same problem Did you figure out how to do it? Thanks in advance.
sungmin130 is offline   Reply With Quote

Reply


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
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 5 July 10, 2017 11:59
simpleFoam crushes at 1st Time loop. seav OpenFOAM Running, Solving & CFD 18 June 4, 2013 08:18
Is OpenFOAM tutorial cases valid? j-avdeev OpenFOAM Running, Solving & CFD 3 September 19, 2012 15:45
on the definition of Start in shell autoignition mepgzzi Siemens 0 June 18, 2008 10:33
Lets start the public domain CFD-Project! Heinz Wilkening Main CFD Forum 3 March 11, 1999 22:55


All times are GMT -4. The time now is 14:45.