CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   simple flow through a pipe tutorial? (https://www.cfd-online.com/Forums/openfoam-solving/241316-simple-flow-through-pipe-tutorial.html)

rheiland February 19, 2022 19:07

simple flow through a pipe tutorial?
 
So far I've not been able to find a simple tutorial/example of flow through a pipe, e.g., just a straight cylinder. Am I overlooking something obvious? I have the following available after my installation:


FOAM_TUTORIALS=/home/heiland/OpenFOAM/OpenFOAM-9/tutorials


heiland@asus:~/OpenFOAM/heiland-9/run$ ls $FOAM_TUTORIALS
Allclean basic discreteMethods financial lagrangian resources
Allrun combustion DNS heatTransfer mesh stressAnalysis
Alltest compressible electromagnetics incompressible multiphase

$ ls $FOAM_TUTORIALS/incompressible/
adjointShapeOptimisationFoam icoFoam pimpleFoam porousSimpleFoam simpleFoam SRFSimpleFoam
boundaryFoam nonNewtonianIcoFoam pisoFoam shallowWaterFoam SRFPimpleFoam


thanks,
Randy


Related, but not to confuse the simple question above, I also cloned this repo: https://develop.openfoam.com/Development/openfoam.git
because it seemed to contain more examples. However, I seem to have a problem when I try to run one of those, e.g.:


heiland@asus:~/git/openfoam/tutorials/mesh/blockMesh/pipe$ ./Allrun
Running blockMesh on /home/heiland/git/openfoam/tutorials/mesh/blockMesh/pipe
heiland@asus:~/git/openfoam/tutorials/mesh/blockMesh/pipe$ ls
Allclean Allrun constant log.blockMesh system
heiland@asus:~/git/openfoam/tutorials/mesh/blockMesh/pipe$ more log.blockMesh
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 9
Exec : blockMesh
Date : Feb 19 2022
Time : 19:04:12
Host : "asus"
PID : 31250
I/O : uncollated
Case : /home/heiland/git/openfoam/tutorials/mesh/blockMesh/pipe
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 FATAL IO ERROR:
wrong token type - expected string, found on line 17 the word 'blockMesh'

file: /home/heiland/git/openfoam/tutorials/mesh/blockMesh/pipe/system/controlDict/libs at line 17.

From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::fileName&)
in file primitives/strings/fileName/fileNameIO.C at line 56.


All times are GMT -4. The time now is 18:13.