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/)
-   -   simpleFoam crashes (CFDSupport port of OpenFOAM for Windows) (https://www.cfd-online.com/Forums/openfoam-solving/167215-simplefoam-crashes-cfdsupport-port-openfoam-windows.html)

mqsim February 25, 2016 10:32

simpleFoam crashes (CFDSupport port of OpenFOAM for Windows)
 
1 Attachment(s)
Hi foamers!

I am having troubles with two totally different cases. The fact is I have the same message error for these two cases and I would like to understand the meaning of this message. For reasons of confidentiality I can not show you the geometry or the mesh for these cases.

Basically, I am meshing in parallel a stl geometry file with snappyHexMesh tool. The mesh does not look perfect when I use checkMesh -allTopology -allGeometry because I have always at least 1 failed mesh check and concave cells whatever the size of the mesh. However I am able to initialise the case using potentialFoam -noFunctionObjects. The problem appears when I run simpleFoam. I have a k-Omega turbulence model. I tried to decrease relaxation factors in the fvSolution file. without success. My log file which is attached show me a message error and I have not found the reason yet despite a lot of things I saw on the forum.

If anyone has an idea please let me know. You have to know I am using OpenFoam 2.3 for Windows distributed by CFD Support on Windows 10 and Windows 7.

Thank you for your help

mqsim

Antimony February 26, 2016 04:07

Hi,

As a start, you could probably switch off the streamlines calculations and see if simpleFoam works.

Hope this helps.

Cheers,
Antimony

mqsim February 26, 2016 06:26

Hi Antimony,

Thank you for your answer! It looks to work because simpleFoam is currently running.

Cheers,

Maxime

Antimony February 26, 2016 09:08

Hi,

You are welcome! :)

My guess is that you had included the file for streamlines from a tutorial case. The geometry and mesh of your case probably didn't coincide with the definitions for streamlines which resulted in the error that you saw.

Cheers,
Antimony

mqsim February 26, 2016 09:52

Quote:

Originally Posted by Antimony (Post 587013)
My guess is that you had included the file for streamlines from a tutorial case. The geometry and mesh of your case probably didn't coincide with the definitions for streamlines which resulted in the error that you saw.

Yes you are right. But I did not see it coming... Thanks again!

crusen mind June 30, 2016 02:31

hi ANTIMONY

basically I am not able to run my ALL RUN script in simpleFOAM rotor disk tutorial
i Will post my log files for rotor disk case


log create patch
./Allrun: 81: ./Allrun: createPatch: not found

log.simpleFoam




/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v3.0+ |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : v3.0+-e941ee6c15e9
Exec : simpleFoam
Date : Jun 27 2016
Time : 15:30:33
Host : "velan-OptiPlex-9020"
PID : 3025
Case : /home/velan/OpenFOAM/velan-v3.0+/run/tutorials/incompressible/simpleFoam/rotorDisk
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


SIMPLE: convergence criteria
field U tolerance 0.0001
field p tolerance 0.001
field "(k|epsilon|omega)" tolerance 0.001

Reading field p

Reading field U

Reading/calculating face flux field phi



--> FOAM FATAL IO ERROR:
Unable to set reference cell for field p
Please supply either pRefCell or pRefPoint


file: /home/velan/OpenFOAM/velan-v3.0+/run/tutorials/incompressible/simpleFoam/rotorDisk/system/fvSolution.SIMPLE from line 42 to line 49.

From function void Foam::setRefCell(const volScalarField&, const volScalarField&, const Foam::dictionary&, Foam::label&, Foam::scalar&, bool)
in file cfdTools/general/findRefCell/findRefCell.C at line 105.

FOAM exiting


log.snappyHEXMESH


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v3.0+ |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : v3.0+-e941ee6c15e9
Exec : snappyHexMesh -overwrite
Date : Jun 27 2016
Time : 15:30:32
Host : "velan-OptiPlex-9020"
PID : 3022
Case : /home/velan/OpenFOAM/velan-v3.0+/run/tutorials/incompressible/simpleFoam/rotorDisk
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0

Read mesh in = 0.01 s

Overall mesh bounding box : (-1.26 -2.01 -1.26) (1.26 2.01 1.26)
Relative tolerance : 1e-06
Absolute matching distance : 5.3722621e-06

Reading refinement surfaces.
Read refinement surfaces in = 0.03 s

Reading refinement shells.
Refinement level 1 for all cells inside fixed.obj
Refinement level 4 for all cells inside rotatingZone.obj
shellSurfaces : Flipped orientation of surface rotatingZone.obj so point (3.75 6 3.75) is outside.
Read refinement shells in = 0.02 s

Setting refinement level of surface to be consistent with shells.
For geometry fixed.obj detected 0 uncached triangles out of 5012
For geometry rotatingZone.obj detected 0 uncached triangles out of 3964
Checked shell refinement in = 0.05 s

Reading features.


--> FOAM FATAL IO ERROR:
Could not open "/home/velan/OpenFOAM/velan-v3.0+/run/tutorials/incompressible/simpleFoam/rotorDisk/constant/triSurface/fixed.eMesh"

file: /home/velan/OpenFOAM/velan-v3.0+/run/tutorials/incompressible/simpleFoam/rotorDisk/system/snappyHexMeshDict.castellatedMeshControls.features from line 47 to line 47.

From function void Foam::refinementFeatures::read(const Foam:bjectRegistry&, const Foam::PtrList<Foam::dictionary>&)
in file autoHexMesh/refinementFeatures/refinementFeatures.C at line 97.

FOAM exiting

log.surfaceFeature EXtract

./Allrun: 81: ./Allrun: surfaceFeatureExtract: not found


All times are GMT -4. The time now is 01:57.