CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error Message while running propeller tutorial case (https://www.cfd-online.com/Forums/openfoam/251554-error-message-while-running-propeller-tutorial-case.html)

kazzy August 25, 2023 00:54

Error Message while running propeller tutorial case
 
Hello,


OpenFOAM-v2206


I am trying to run the $FOAM_TUTORIALS/incompressible/pimpleFoam/RAS/propeller tutorial case using kOmegaSST turbulence model.


I have followed the below steps in sequential manner:




blockMesh

checkMesh

surfaceFeatureExtract


decomposePar

mpirun -np 4 snappyHexMesh -overwrite -parallel | tee log.snappy

reconstructParMesh -constant


rm -r processor*


topoSet -dict system/createInletOutletSets.topoSetDict


createPatch -overwrite

cp -r 0.orig/ 0


decomposePar

mpirun -np 4 pimpleFoam -parallel | tee log.pimpleFoam


Post this while the case is running using pimpleFoam I am getting the below error message in terminal:


--> FOAM FATAL IO ERROR: (openfoam-2206)
Entry 'method' not found in dictionary "/home/ttdesign/OpenFOAM/ttdesign-v2206/run/sample_cases/trial/trial-propeller/propeller_case1/system/fvSchemes.wallDist"
file: system/fvSchemes.wallDist
From bool Foam::dictionary::readEntry(const Foam::word&, T&, Foam::keyType::option, bool) const [with T = Foam::word]
in file /home/ttdesign/OpenFOAM/OpenFOAM-v2206/src/OpenFOAM/lnInclude/dictionaryTemplates.C at line 322.
FOAM parallel run exiting



Please if you can suggest me further on this. I would really appreciate & thanks in advance.

LongGe August 25, 2023 02:16

Hello

How about adding the following dictionary to system/fvSchemes?

wallDist
{
method meshWave;
}

kazzy September 5, 2023 02:07

Error Message while running propeller tutorial case
 
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2206 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

ddtSchemes
{
default Euler;
}

gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) cellLimited Gauss linear 1;
}

divSchemes
{
default none;

div(phi,U) Gauss linearUpwind grad(U);

turbulence Gauss upwind;
div(phi,k) $turbulence;
div(phi,epsilon) $turbulence;

div((nuEff*dev2(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default Gauss linear limited corrected 0.33;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default limited corrected 0.33;
}

wallDist
{
method meshWave;
}



// ************************************************** *********************** //


I have made changes to the fvSchemes file as above.

kazzy September 5, 2023 02:18

After making changes to the fvSchemes, when running the command- "mpirun -np 4 snappyHexMesh -overwrite -parallel | tee log.snappy"


I am getting the following error message:


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

Create mesh for time = 0

Read mesh in = 0.01 s

Overall mesh bounding box : (-0.3 -0.81 -0.3) (0.3 0.21 0.3)
Relative tolerance : 1e-06
Absolute matching distance : 1.3268e-06

[0]
[0]
[0] --> FOAM FATAL ERROR: (openfoam-2206)
[0] Cannot find surface starting from "/home/ttdesign/OpenFOAM/ttdesign-v2206/run/sample_cases/trial/trial-propeller/propeller_case2/processor0/constant/triSurface/propellerTip.obj.gz"
[0]
[0]
[0] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(c onst Foam::IOobject&, const Foam::dictionary&, bool)
[0] in file surfaceFormats/surfaceFormatsCore.C at line 314.
[0]
FOAM parallel run exiting
[0]
[1]
[1]
[1] --> FOAM FATAL ERROR: (openfoam-2206)
[1] Cannot find surface starting from "/home/ttdesign/OpenFOAM/ttdesign-v2206/run/sample_cases/trial/trial-propeller/propeller_case2/processor1/constant/triSurface/propellerTip.obj.gz"
[1]
[1]
[1] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(c onst Foam::IOobject&, const Foam::dictionary&, bool)
[1] in file surfaceFormats/surfaceFormatsCore.C at line 314.
[1]
FOAM parallel run exiting
[1]
[2]
[2]
[2] --> FOAM FATAL ERROR: (openfoam-2206)
[2] Cannot find surface starting from "/home/ttdesign/OpenFOAM/ttdesign-v2206/run/sample_cases/trial/trial-propeller/propeller_case2/processor2/constant/triSurface/propellerTip.obj.gz"
[2]
[2]
[2] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(c onst Foam::IOobject&, const Foam::dictionary&, bool)
[2] in file surfaceFormats/surfaceFormatsCore.C at line 314.
[2]
FOAM parallel run exiting
[2]
[3]
[3]
[3] --> FOAM FATAL ERROR: (openfoam-2206)
[3] Cannot find surface starting from "/home/ttdesign/OpenFOAM/ttdesign-v2206/run/sample_cases/trial/trial-propeller/propeller_case2/processor3/constant/triSurface/propellerTip.obj.gz"
[3]
[3]
[3] From static Foam::fileName Foam::fileFormats::surfaceFormatsCore::checkFile(c onst Foam::IOobject&, const Foam::dictionary&, bool)
[3] in file surfaceFormats/surfaceFormatsCore.C at line 314.
[3]
FOAM parallel run exiting
[3]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 2 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------
[ttdesign:04784] 3 more processes have sent help message help-mpi-api.txt / mpi-abort
[ttdesign:04784] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages


All times are GMT -4. The time now is 07:55.