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

Help: Calculation terminated but cannot find the reaon

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2021, 10:59
Smile Help: Calculation terminated but cannot find the reaon
  #1
New Member
 
cloud Wang
Join Date: Aug 2021
Posts: 2
Rep Power: 0
cloudwsx is on a distinguished road
Hi all,

I want to simulate a simple case with a cylinder, which using a dynamic Mesh. I want the cylinder can rotate from a point.
With rotation speed of 0 rad/s. The simulation went well.
But when a positive rotation speed is added, the calcuation paused and terminated after serveal calcualtion step.
In paraview, results of the steps which already perfromed looks fine.
So I have no clue how to locate the reason of terminated of calucation.
Can some one help me to find out the reasons? Many thanks!


Following is the latest sentences from log file.
Seems there is some non-zero values there but I do not how to find the reason.

PIMPLE: Iteration 1
AMI: Creating addressing and weights between 7168 source faces and 7168 target faces
AMI: Patch source sum(weights) min/max/average = 0.503673, 1.39448, 0.830561
AMI: Patch target sum(weights) min/max/average = 0, 1.38001, 0.776023
GAMG: Solving for pcorr, Initial residual = 1, Final residual = 0.0189694, No Iterations 17
GAMG: Solving for pcorr, Initial residual = 0.502012, Final residual = 0.0103886, No Iterations 5
time step continuity errors : sum local = 7.28406e-11, global = -4.74792e-12, cumulative = -1.1844e-11
smoothSolver: Solving for Uy, Initial residual = 0.00250991, Final residual = 3.94283e-05, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.0020454, Final residual = 3.50647e-05, No Iterations 1
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[37505,1],0]
Exit code: 142
--------------------------------------------------------------------------
Attached Files
File Type: zip CylinderCFD.zip (23.6 KB, 1 views)
cloudwsx is offline   Reply With Quote

Old   August 17, 2021, 05:40
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 647
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

The bold line below gives you the reason:

Code:
PIMPLE: Iteration 1
AMI: Creating addressing and weights between 7168 source faces and 7168 target faces
AMI: Patch source sum(weights) min/max/average = 0.503673, 1.39448, 0.830561
AMI: Patch target sum(weights) min/max/average = 0, 1.38001, 0.776023
GAMG: Solving for pcorr, Initial residual = 1, Final residual = 0.0189694, No Iterations 17
GAMG: Solving for pcorr, Initial residual = 0.502012, Final residual = 0.0103886, No Iterations 5
time step continuity errors : sum local = 7.28406e-11, global = -4.74792e-12, cumulative = -1.1844e-11
smoothSolver: Solving for Uy, Initial residual = 0.00250991, Final residual = 3.94283e-05, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.0020454, Final residual = 3.50647e-05, No Iterations 1
For the AMI patch there is a location where the Patch target weight becomes 0, meaning that there is no interpolation possible. It may happen if the origin of your rotation is not exactly in the center of your cylinder, or maybe for some other issues on the mesh when it is moving.

You can try and test this with moveDynamicMesh -checkAMI.

Hope this helps.
tomf is offline   Reply With Quote

Old   August 19, 2021, 11:30
Smile
  #3
New Member
 
cloud Wang
Join Date: Aug 2021
Posts: 2
Rep Power: 0
cloudwsx is on a distinguished road
Hi, tomf, Thanks!
You are right. It is becasue of the mesh. Seems the snap in snappyHexMesh does not successfully applied. Now it works.
cloudwsx 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
"Hand" calculation jet fan in the garage mageno Main CFD Forum 3 August 7, 2021 20:09
Dynamic mesh adaption in parallel calculation xh110120 FLUENT 1 March 12, 2016 09:05
Determining the calculation sequence of the regions in multe regions calculation peterhess OpenFOAM Running, Solving & CFD 4 March 9, 2016 04:07
[foam-extend.org] Installing foam-extend 3.1 on Ubuntu 14.04 stephie OpenFOAM Installation 16 April 23, 2015 17:18
Backtrace errors while running on a HPC with buoyantBoussinesqSimpleFoam Thangam OpenFOAM Running, Solving & CFD 2 July 12, 2014 00:39


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