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/)
-   -   p_rgh problem during parallel run (https://www.cfd-online.com/Forums/openfoam-solving/144862-p_rgh-problem-during-parallel-run.html)

musahossein November 23, 2014 09:01

p_rgh problem during parallel run
 
Dear all:

I am running SloshingTank2D. OpenFoam version 2.2.1. I am providing discrete displacements to OpenFoam by updating the .dat (displacement file) as follows:
Here the number in the first row refers to the number of lines of data (2 in this case)
The first column in parenthesis is the time and the third column is the displacement.
2
(
( 0.1200000000 (( 0.0000000000 0.018321915799882 0.0000000000) ( 0.0000000000 0.0000000000 0.0000000000)))
( 0.1400000000 (( 0.0000000000 0.035117389491237 0.0000000000) ( 0.0000000000 0.0000000000 0.0000000000)))
)


I have another program that generates the displacements at 0.02 second intervals and then modifies the displacement.dat file. After doing this it updates the controlDict file start and end times as well as shown below, where the start time corresponds to 0.12 seconds and the end time corresponds to 0.14 seconds.
/*--------------------------------*- C++ -*-----------------------------------|
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
|*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * new file * * * * * * * * * * * * * * * * * * * * * * * * * * //
application interDyMFoam;
startFrom startTime;
startTime 0.12;
stopAt endTime;
endTime 0.14;
deltaT 0.001;
writeControl adjustableRunTime;
writeInterval 0.002;
purgeWrite 0;
writeFormat ascii;
writePrecision 6;
writeCompression compressed;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
maxAlphaCo 0.5;
maxDeltaT 1;


When I run OpenFOAM, it does the analysis upto 0.12 seconds and does not proceed any further. The log file stops at p_rgh. Any ideas why this is happening? If it is not a problem at time steps before this, why is it occuring at 0.12?


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.1-57f3c3617a2d
Exec : interDyMFoam -parallel
Date : Nov 23 2014
Time : 08:55:54
Host : "CFS-Server"
PID : 25657
Case : /home/cfsengineers/OpenFOAM/cfsengineers-2.2.1/run/tutorials/multiphase/interDyMFoam/ras/sloshingTank2D
nProcs : 6
Slaves :
5
(
"CFS-Server.25658"
"CFS-Server.25659"
"CFS-Server.25660"
"CFS-Server.25661"
"CFS-Server.25662"
)

Pstream initialized with:
floatTransfer : 0
nProcsSimpleSum : 0
commsType : nonBlocking
polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Create mesh for time = 0.12

Selecting dynamicFvMesh solidBodyMotionFvMesh
Selecting solid-body motion function tabulated6DoFMotion
Applying solid body motion to entire mesh
Reading field p_rgh

I look forward to comments / suggestions. Thankyou.


All times are GMT -4. The time now is 04:46.