Home › Forums › OpenFOAM Forum › Lecture 24 Golfball

Lecture 24 Golfball
Posted by John on May 26, 2022 at 5:53 amAfter running blockMesh i did run the command checkMesh.
Result of CheckMesh is ok, however I have a query around the chckmesh File:
”
Create time–> FOAM Warning :
From function static Foam::instantList Foam::timeSelector::select0(Foam::Time&, const Foam::argList&)
in file db/Time/timeSelector.C at line 269
No time specified or available, selecting ‘constant’
Create polyMesh for time = constant
”Question:
Could you please explain the warning and the alternatives around this message with time?
Appreciated your thoughts and background in this for analogues models.Thanks
JohnBarÄ±ÅŸ Bicer replied 1 year, 10 months ago 4 Members · 11 Replies 
11 Replies

When using OF9 (openfoam.org) the following message will appaer:
”
Command: surfaceFeatureExtractThe surfaceFeatureExtract utility has been superseded and replaced by by the
more general surfaceFeatures utility.surfaceFeatures reads a surfaceFeaturesDict input file with a much
simpler, more convenient format. Example surfaceFeaturesDict files
can be found in the tutorial and template cases, e.g. located as
follows:
find $FOAM_TUTORIALS name surfaceFeaturesDict
find $FOAM_ETC name surfaceFeaturesDict”
Solution is to copy the SurfaceFeaturesExtractDict and rename it to SurfaceFeaturesDict
Subsequently run the command: SurfaceFeatures 
Find attached the SurfaceFeaturesDict for OF9:
/*——————————–* C++ *———————————*\
 =========  
 \\ / F ield  OpenFOAM: The Open Source CFD Toolbox 
 \\ / O peration  Version: v2106 
 \\ / A nd  Website: http://www.openfoam.com 
 \\/ M anipulation  
\*—————————————————————————*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object surfaceFeatureExtractDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //surfaces
(
“golfBall.stl”
);// Identify a feature when angle between faces < includedAngle
includedAngle 170;trimFeatures
{
// Remove features with fewer than the specified number of edges
minElem 10;
}subsetFeatures
{
// Keep nonManifold edges (edges with >2 connected faces)
nonManifoldEdges no;// Keep open edges (edges with 1 connected face)
openEdges yes;// Write options
// Write features to obj format for postprocessing
writeObj yes;
}// ************************************************************************* //

Baris,
Still strugling to get this case running.
I assume the materials has not been uploaded yet.My case resolves already after 7 itterations. Not sure what I need to change.
————————————————————————
jmmbr@LAPTOPFMJUCOA:~/OpenFOAM/jmmbr9/run/Lecture24/Golfball1$ mpirun np 4 simpleFoam parallel  tee log.golfBall
————————————————————————–
WARNING: Linux kernel CMA support was requested via the
btl_vader_single_copy_mechanism MCA variable, but CMA support is
not available due to restrictive ptrace settings.The vader shared memory BTL will fall back on another singlecopy
mechanism if one is available. This may result in lower performance.Local host: LAPTOPFMJUCOA
————————————————————————–
/*—————————————————————————*\
========= 
\\ / F ield  OpenFOAM: The Open Source CFD Toolbox
\\ / O peration  Website: https://openfoam.org
\\ / A nd  Version: 9
\\/ M anipulation 
\*—————————————————————————*/
Build : 9b456138dc4bc
Exec : simpleFoam parallel
Date : May 30 2022
Time : 10:55:29
Host : “LAPTOPFMJUCOA”
PID : 1601
I/O : uncollated
Case : /home/jmmbr/OpenFOAM/jmmbr9/run/Lecture24/Golfball1
nProcs : 4
Slaves :
3
(
“LAPTOPFMJUCOA.1602”
“LAPTOPFMJUCOA.1603”
“LAPTOPFMJUCOA.1604”
)Pstream initialised with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring runtime modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing usersupplied system call operations// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create timeCreate mesh for time = 0
SIMPLE: Convergence criteria found
p: tolerance 0.0001
U: tolerance 0.0001
“(komegaepsilon)”: tolerance 0.0001Reading field p
Reading field U
Reading/calculating face flux field phi
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
RAS
{
RASModel kEpsilon;
turbulence on;
printCoeffs on;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 0;
sigmak 1;
sigmaEps 1.3;
}No MRF models present
No fvModels present
No fvConstraints presentStarting time loop
Time = 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.00376914, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.999995, Final residual = 0.00294525, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.999993, Final residual = 0.00143434, No Iterations 1
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0451101, No Iterations 4
time step continuity errors : sum local = 0.225555, global = 0.0808359, cumulative = 0.0808359
smoothSolver: Solving for epsilon, Initial residual = 0.0493179, Final residual = 0.00141506, No Iterations 2
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0987739, No Iterations 1
ExecutionTime = 1.78 s ClockTime = 2 sTime = 2
smoothSolver: Solving for Ux, Initial residual = 0.274821, Final residual = 0.0269639, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.265273, Final residual = 0.0152256, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.265983, Final residual = 0.0152284, No Iterations 1
DICPCG: Solving for p, Initial residual = 0.816044, Final residual = 0.030484, No Iterations 5
time step continuity errors : sum local = 0.130955, global = 0.0160313, cumulative = 0.0968671
smoothSolver: Solving for epsilon, Initial residual = 0.00117256, Final residual = 4.52578e05, No Iterations 1
smoothSolver: Solving for k, Initial residual = 0.57396, Final residual = 0.0440328, No Iterations 1
ExecutionTime = 2.97 s ClockTime = 3 sTime = 3
smoothSolver: Solving for Ux, Initial residual = 0.192763, Final residual = 0.00495282, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.212755, Final residual = 0.00459754, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 0.211907, Final residual = 0.00472359, No Iterations 2
DICPCG: Solving for p, Initial residual = 0.604846, Final residual = 0.0302188, No Iterations 6
time step continuity errors : sum local = 0.104263, global = 0.00451193, cumulative = 0.101379
smoothSolver: Solving for epsilon, Initial residual = 0.00246814, Final residual = 0.000195756, No Iterations 1
bounding epsilon, min: 3.06921 max: 230177 average: 508.241
smoothSolver: Solving for k, Initial residual = 0.34767, Final residual = 0.0266485, No Iterations 1
ExecutionTime = 4.28 s ClockTime = 5 sTime = 4
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0979072, No Iterations 1
[LAPTOPFMJUCOA:01596] 3 more processes have sent help message helpbtlvader.txt / cmapermissiondenied
[LAPTOPFMJUCOA:01596] Set MCA parameter “orte_base_help_aggregate” to 0 to see all help / error messages
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0997134, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0836972, No Iterations 1
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0481503, No Iterations 2
time step continuity errors : sum local = 2.21734e+12, global = 4.96022e+11, cumulative = 4.96022e+11
smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0862544, No Iterations 1
bounding epsilon, min: 8.02114e+12 max: 4.20961e+15 average: 2.7933e+11
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0562445, No Iterations 1
bounding k, min: 2.92748e+11 max: 9.03857e+14 average: 3.5555e+10
ExecutionTime = 5.49 s ClockTime = 6 sTime = 5
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0985404, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0985404, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0985404, No Iterations 1
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0462502, No Iterations 112
time step continuity errors : sum local = 3.69412e+26, global = 3.73459e+25, cumulative = 3.73459e+25
smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0398393, No Iterations 1
bounding epsilon, min: 2.25477e+37 max: 9.89521e+37 average: 2.64871e+33
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0410364, No Iterations 1
bounding k, min: 3.30127e+36 max: 2.274e+37 average: 2.69881e+32
ExecutionTime = 7.83 s ClockTime = 8 sTime = 6
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0886196, No Iterations 3
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0886196, No Iterations 3
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0886196, No Iterations 3
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0439686, No Iterations 5
time step continuity errors : sum local = 6.83868e+62, global = 3.45319e+61, cumulative = 3.45319e+61
smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.070986, No Iterations 2
bounding epsilon, min: 6.23775e+95 max: 1.18734e+98 average: 1.87687e+93
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0661079, No Iterations 2
bounding k, min: 4.45116e+95 max: 6.40861e+96 average: 9.16811e+91
ExecutionTime = 9.17 s ClockTime = 10 sTime = 7
smoothSolver: Solving for Ux, Initial residual = 0.000319807, Final residual = 2.37189e05, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.000734239, Final residual = 6.67871e05, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.000740061, Final residual = 1.12355e05, No Iterations 2
————————————————————————–
Primary job terminated normally, but 1 process returned
a nonzero exit code. Per userdirection, the job has been aborted.
————————————————————————–
————————————————————————–
mpirun detected that one or more processes exited with nonzero status, thus causing
the job to be terminated. The first process to do so was:Process name: [[23477,1],0]
Exit code: 142
————————————————————————– 
Same issue with the original solver name: GAMG
jmmbr@LAPTOPFMJUCOA:~/OpenFOAM/jmmbr9/run/Lecture24/Golfball1$ mpirun np 4 simpleFoam parallel  tee log.golfBall
————————————————————————–
WARNING: Linux kernel CMA support was requested via the
btl_vader_single_copy_mechanism MCA variable, but CMA support is
not available due to restrictive ptrace settings.The vader shared memory BTL will fall back on another singlecopy
mechanism if one is available. This may result in lower performance.Local host: LAPTOPFMJUCOA
————————————————————————–
/*—————————————————————————*\
========= 
\\ / F ield  OpenFOAM: The Open Source CFD Toolbox
\\ / O peration  Website: https://openfoam.org
\\ / A nd  Version: 9
\\/ M anipulation 
\*—————————————————————————*/
Build : 9b456138dc4bc
Exec : simpleFoam parallel
Date : May 30 2022
Time : 11:05:13
Host : “LAPTOPFMJUCOA”
PID : 1655
I/O : uncollated
Case : /home/jmmbr/OpenFOAM/jmmbr9/run/Lecture24/Golfball1
nProcs : 4
Slaves :
3
(
“LAPTOPFMJUCOA.1656”
“LAPTOPFMJUCOA.1657”
“LAPTOPFMJUCOA.1658”
)Pstream initialised with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring runtime modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing usersupplied system call operations// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create timeCreate mesh for time = 0
SIMPLE: Convergence criteria found
p: tolerance 0.0001
U: tolerance 0.0001
“(komegaepsilon)”: tolerance 0.0001Reading field p
Reading field U
Reading/calculating face flux field phi
Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
RAS
{
RASModel kEpsilon;
turbulence on;
printCoeffs on;
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 0;
sigmak 1;
sigmaEps 1.3;
}No MRF models present
No fvModels present
No fvConstraints presentStarting time loop
Time = 1
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.00376914, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.999995, Final residual = 0.00294525, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.999993, Final residual = 0.00143434, No Iterations 1
GAMG: Solving for p, Initial residual = 1, Final residual = 0.0365616, No Iterations 2
time step continuity errors : sum local = 0.182811, global = 0.162929, cumulative = 0.162929
smoothSolver: Solving for epsilon, Initial residual = 0.0494811, Final residual = 0.00141985, No Iterations 2
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0993417, No Iterations 1
ExecutionTime = 1.98 s ClockTime = 2 sTime = 2
smoothSolver: Solving for Ux, Initial residual = 0.274263, Final residual = 0.0264834, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.266405, Final residual = 0.0155131, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.266846, Final residual = 0.0155647, No Iterations 1
GAMG: Solving for p, Initial residual = 0.549736, Final residual = 0.0201656, No Iterations 2
time step continuity errors : sum local = 0.129445, global = 0.113331, cumulative = 0.276261
smoothSolver: Solving for epsilon, Initial residual = 0.00117554, Final residual = 4.56194e05, No Iterations 1
smoothSolver: Solving for k, Initial residual = 0.573146, Final residual = 0.0444498, No Iterations 1
ExecutionTime = 3.23 s ClockTime = 3 sTime = 3
smoothSolver: Solving for Ux, Initial residual = 0.192309, Final residual = 0.00483216, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 0.213161, Final residual = 0.00471602, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 0.212368, Final residual = 0.00485837, No Iterations 2
GAMG: Solving for p, Initial residual = 0.245988, Final residual = 0.00766021, No Iterations 2
time step continuity errors : sum local = 0.0666201, global = 0.0442788, cumulative = 0.320539
smoothSolver: Solving for epsilon, Initial residual = 0.00248066, Final residual = 0.000197139, No Iterations 1
bounding epsilon, min: 3.05736 max: 230185 average: 508.633
smoothSolver: Solving for k, Initial residual = 0.346855, Final residual = 0.0258703, No Iterations 1
ExecutionTime = 4.49 s ClockTime = 4 sTime = 4
[LAPTOPFMJUCOA:01650] 3 more processes have sent help message helpbtlvader.txt / cmapermissiondenied
[LAPTOPFMJUCOA:01650] Set MCA parameter “orte_base_help_aggregate” to 0 to see all help / error messages
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0980874, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0995758, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0837378, No Iterations 1
GAMG: Solving for p, Initial residual = 1, Final residual = 0.035729, No Iterations 1
time step continuity errors : sum local = 1.64039e+12, global = 3.60865e+11, cumulative = 3.60865e+11
smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0850919, No Iterations 1
bounding epsilon, min: 1.76971e+13 max: 3.94481e+15 average: 2.78248e+11
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0538006, No Iterations 1
bounding k, min: 3.22942e+11 max: 5.4257e+14 average: 3.24308e+10
ExecutionTime = 5.73 s ClockTime = 6 sTime = 5
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.027753, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0245863, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0290602, No Iterations 1
GAMG: Solving for p, Initial residual = 1, Final residual = 0.0540162, No Iterations 2
time step continuity errors : sum local = 6.75012e+34, global = 4.30213e+34, cumulative = 4.30213e+34
smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0334298, No Iterations 1
bounding epsilon, min: 3.06921e+47 max: 2.66958e+49 average: 9.42866e+44
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0550158, No Iterations 1
bounding k, min: 2.76033e+46 max: 1.88574e+48 average: 6.05471e+43
ExecutionTime = 6.99 s ClockTime = 7 sTime = 6
smoothSolver: Solving for Ux, Initial residual = 0.459276, Final residual = 0.0336524, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.0925313, Final residual = 0.00676799, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.252586, Final residual = 0.018478, No Iterations 1
GAMG: Solving for p, Initial residual = 1, Final residual = 0.0745445, No Iterations 3
time step continuity errors : sum local = 6.33068e+34, global = 4.82656e+34, cumulative = 9.12869e+34
smoothSolver: Solving for epsilon, Initial residual = 0.213274, Final residual = 2.69845e17, No Iterations 1
bounding epsilon, min: 3.3543e+70 max: 2.71408e+75 average: 7.91442e+70
smoothSolver: Solving for k, Initial residual = 0.000372679, Final residual = 2.64997e05, No Iterations 1
bounding k, min: 2.84684e+62 max: 9.62415e+73 average: 3.65397e+69
ExecutionTime = 8.29 s ClockTime = 8 sTime = 7
smoothSolver: Solving for Ux, Initial residual = 0.696842, Final residual = 0.0520543, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.694479, Final residual = 0.0506803, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.697261, Final residual = 0.0519995, No Iterations 1
GAMG: Solving for p, Initial residual = 0.875106, Final residual = 0.0236888, No Iterations 2
time step continuity errors : sum local = 4.92134e+83, global = 1.23798e+68, cumulative = 1.23798e+68
smoothSolver: Solving for epsilon, Initial residual = 0.148786, Final residual = 3.12182e07, No Iterations 1
bounding epsilon, min: 3.00536e+131 max: 3.42555e+132 average: 1.38476e+127
smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.000193607, No Iterations 1
bounding k, min: 2.7126e+115 max: 5.8922e+118 average: 1.90352e+113
ExecutionTime = 9.54 s ClockTime = 9 sTime = 8
————————————————————————–
Primary job terminated normally, but 1 process returned
a nonzero exit code. Per userdirection, the job has been aborted.
————————————————————————–
————————————————————————–
mpirun detected that one or more processes exited with nonzero status, thus causing
the job to be terminated. The first process to do so was:Process name: [[23547,1],1]
Exit code: 145
————————————————————————– 
Hi John,
The new case file name is new_golf_ball_test_case. I have deleted the previous case file and uploaded the latest one.
Let us know if that case file works.Regards
Sandeep 
Hi John,
the latest uploaded case is worked for me and for others…
Do you use something different?

Hi Baris it is working fine with me as well.
Quick feedback.
I managed to get the case running.
– DecomposeParMesh clashes when run at a later stage with DecomposePar
o Solution run single on single processor
o DecomposePar can run parallel with no issue with np 4.
– OF 9 has changed the QualityMeshDict where the etc file location (since OF6)
– Updated case run for kEpsilon with the updated case
– Changed out for kOmega case the FVSchemes with one of the tutorials under OF9.
All convergen going well now. 
Hi John,
Thanks a lot for great suggestions for foundation variant of OpenFOAM.
I am happy to hear that all works now without any problem.
Best.
BarÄ±ÅŸ
Log in to reply.