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

InterFoam stops after deltaT goes to 1e14

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AmiN.D

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2008, 10:29
Default Hi All, running interFoam
  #1
Member
 
Francesco Boschetto
Join Date: Mar 2009
Location: Italy
Posts: 56
Rep Power: 17
francesco_b is on a distinguished road
Hi All,

running interFoam for a complex problem, I noticed that suddenly deltaT decreases and from e-07 it goes to e-14, then the computation stop with the following lines:

area3@calcolo:~/OpenFOAM/area3-1.4.1/run/tutorials/interFoam$ mpirun noticed that job rank 0 with PID 16148 on node calcolo exited on signal 15 (Terminated).

[1]+ Exit 143 mpirun -np 2 interFoam . BCplacca -parallel > log_bcplacca
area3@calcolo:~/OpenFOAM/area3-1.4.1/run/tutorials/interFoam$ mpirun -np 2 interFoam . BCplacca -parallel > log_bcplacca &
[1] 16283
area3@calcolo:~/OpenFOAM/area3-1.4.1/run/tutorials/interFoam$ [1] #0 Foam::error::printStack(Foam:stream&) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #2 Uninterpreted: [0xffffe420]
[1] #3 Foam::Time::adjustDeltaT() in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #4 Foam::Time::setDeltaT(double)[0] #0 Foam::error::printStack(Foam:stream&) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #2 Uninterpreted: [0xffffe420]
[0] #3 Foam::Time::adjustDeltaT() in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #4 Foam::Time::setDeltaT(double) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #5 in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #5 mainmain in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam"
[1] #6 __libc_start_main in "/lib/tl in s/i686/cmov/libc.so.6"
[1] #7 Foam::regIOobject::readIfModified()"/home/area3/OpenFOAM/OpenFOAM-1.4.1/applicat ions/bin/linuxGccDPOpt/interFoam"
[0] #6 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
[0] #7 Foam::regIOobject::readIfModified() in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam"
[calcolo:16287] *** Process received signal ***
[calcolo:16287] Signal: Floating point exception (8)
[calcolo:16287] Signal code: (-6)
[calcolo:16287] Failing at address: 0x3f9f
[calcolo:16287] [ 0] [0xffffe440]
[calcolo:16287] [ 1] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6si gFpe13sigFpeHandlerEi+0x61) [0xb703f491]
[calcolo:16287] [ 2] [0xffffe420]
[calcolo:16287] [ 3] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Ti me9setDeltaTEd+0x2d) [0xb70c856d]
[calcolo:16287] [ 4] interFoam [0x8062708]
[calcolo:16287] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb6d29050]
[calcolo:16287] [ 6] interFoam(_ZN4Foam11regIOobject14readIfModifiedEv+ 0x1f9) [0x805f4e1]
[calcolo:16287] *** End of error message ***
in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam"
[calcolo:16286] *** Process received signal ***
[calcolo:16286] Signal: Floating point exception (8)
[calcolo:16286] Signal code: (-6)
[calcolo:16286] Failing at address: 0x3f9e
[calcolo:16286] [ 0] [0xffffe440]
[calcolo:16286] [ 1] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6si gFpe13sigFpeHandlerEi+0x61) [0xb7046491]
[calcolo:16286] [ 2] [0xffffe420]
[calcolo:16286] [ 3] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Ti me9setDeltaTEd+0x2d) [0xb70cf56d]
[calcolo:16286] [ 4] interFoam [0x8062708]
[calcolo:16286] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb6d30050]
[calcolo:16286] [ 6] interFoam(_ZN4Foam11regIOobject14readIfModifiedEv+ 0x1f9) [0x805f4e1]
[calcolo:16286] *** End of error message ***
mpirun noticed that job rank 0 with PID 16286 on node calcolo exited on signal 8 (Floating point exception).

Did it stop because deltaT was tto little? If not, Why did it stop?

Is there something I can do to overcome this problem? Maybe refine the mesh could help?

Thanks for your suggestions

Francesco
francesco_b is offline   Reply With Quote

Old   March 3, 2008, 13:50
Default Yes, it stopped because deltaT
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Yes, it stopped because deltaT was too small. More specifically adjustDeltaT() in Time.C (in $FOAM_SRC/OpenFOAM/lnInclude/). There is some logic there which divides by deltaT_ to find out when to write.

Refining the mesh will not likely help. More likely a boundary problem.
mattijs is offline   Reply With Quote

Old   March 3, 2008, 14:48
Default It's been my impression in the
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
It's been my impression in the past, that the adjustable timestep can do horrible things with interFoam: a small droplet increases its velocity and "pulls" the timestep down.
Don't know the reason for that, but usually with a fixed (small enough) time-step these calculations worked without a problem.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 30, 2013, 04:04
Default
  #4
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
Hi,

I have a similar issue with deltaT, but confused for cause of.
Was running a decomposed interFoam job through time steps and the machine crashed but log file looked great up till then.
Now, I am unable to restart case from last timestep.

-------------------------- log file --------------------------------------
pec@bakugan:~/Desktop/half_mesh_10_pol$ tail -f log_008
MULES: Solving for alpha1
Liquid phase volume fraction = 0.000415151 Min(alpha1) = -6.22785e-26 Max(alpha1) = 1
DICPCG: Solving for p, Initial residual = 0.00268588, Final residual = 9.59121e-08, No Iterations 438
DICPCG: Solving for p, Initial residual = 7.22829e-05, Final residual = 9.99362e-08, No Iterations 96
DICPCG: Solving for p, Initial residual = 3.92261e-06, Final residual = 9.46252e-08, No Iterations 22
DICPCG: Solving for p, Initial residual = 4.73228e-07, Final residual = 9.24826e-08, No Iterations 3
DICPCG: Solving for p, Initial residual = 0.000550059, Final residual = 9.59388e-08, No Iterations 438
DICPCG: Solving for p, Initial residual = 1.3551e-05, Final residual = 9.41344e-08, No Iterations 13
DICPCG: Solving for p, Initial residual = 8.33857e-07, Final residual = 9.60166e-08, No Iterations 17
DICPCG: Solving for p, Initial residual = 1.79822e-07, Final residual = 7.42405e-08, No Iterations 2
------------------------ end log file ------------------------------------------
after reboot, i reran from last time step but keep getting error:
----------------------- error dump-----------------------------------------


DICPCG: Solving for pcorr, Initial residual = 0.00114578, Final residual = 9.57827e-11, No Iterations 725
[3] [6] #0 #0 Foam::error:rintStack(Foam::Ostream&)Foam::error :rintStack(Foam::Ostream&)[5] #0 Foam::error:rintStack(Foam::Ostream&)[2] [4] #0 Foam::error:rintStack(Foam::Ostream&)#[0] #0 Foam::error:rintStack(Foam::Ostream&)0 Foam::error:rintStack(Foam::Ostream&)[7] #0 Foam::error:rintStack(Foam::Ostream&)[1] #0 Foam::error:rintStack(Foam::Ostream&) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[4] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[7] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigFpeHandler(int) in "/ in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGhccDPOpt/libOpenFOAM.so"
ome/pec/OpenFOAM in "//Ohome/pec/OpenFOAM/OppenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #1 Foam::sigFpe::sigFpeHandler(int)[0] #2 Uninterpreted:
[0] #3 Foam::Time::adjustDeltaT() in "/home/pec/OpenFOAM/OpenFOAM-1.6/enFOAM-1.6/lib/linlib/linuxGccDPOpt/libOpenFOAM.so"
[4] #2 Uninterpreted:
[4] #3 Foam::Time::adjustDeltaT()uxGccDPOpt/libOpenFOAM.so"
[6] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpen in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #2 Uninterpreted:
[5] #3 Foam::Time::adjustDeltaT()FOAM.so"
[7] #2 Uninterpreted:
[7] #3 Foam::Time::adjustDeltaT() in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libO in "/home/ppenFOAM.so"
[1] #2 Uninterpreted:
[1] #3 Foam::Time::adjustDeltaT() in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[4] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/O in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] ec/Ope#nFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[6] #2 Uninterpreted:
[6] #3 Foam::Time::adjustDeltaT()2 Uninterpreted:
[3] #3 Foam::Time::adjustDeltaT()penFOAM-1.6 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[7] #4 Foam::Time::setDeltaT(double)/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #4 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #2 Uninterpreted:
[2] #3 Foam::Time::adjustDeltaT()Foam::Time::setDeltaT(do uble) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[7] #5 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #4 Foam::Time::setDeltaT(double) in "/hom in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[4] #5 e/pec/OpenFOAM/O in "/home/pec/OppenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #5 enFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #5 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[6] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #5 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #5 main in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[6] #5 mainmain in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[5] #6 __libc_start_main in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] #5 in "/home/pec/OpenFOAM/OpenFOmainAM-1.6/applications/bin/linuxG in "/home/pecc/OpenFOAM/OpenFOAM-1.6/applicaticons/bin/linuDPOptxGccDPOpt/interFoam"
/[4] #6 __libc_start_maininterFoam"
[7] #6 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
[5] #7 main in "/lib/tls/i686/ in "/home/pcmov/libc.so.6"
[7] #7 ec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[6] #6 __libc_start_main in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[2] #6 __libc_start_mainmain in "/lib/tls/i in "/lib68/tls/i686/cmov/libc.so.6"
[4] #7 6/cmov/libc.so.6"
[6] #7 in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[0] #6 __libc_start_main in "/lib/tls/i686/cm_startmainov/libc.so.6"
[2] #7 _start_startmain_start in "/lib/tls/i686/cmov/libc.so.6"
[0] #7 in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[bakugan:06570] *** Process received signal ***
[bakugan:06570] Signal: Floating point exception (8)
[bakugan:06570] Signal code: (-6)
[bakugan:06570] Failing at address: 0x19aa
[bakugan:06570] [ 0] [0xb7815410]
[bakugan:06570] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb67942a1]
[bakugan:06570] [ 2] [0xb7815400]
[bakugan:06570] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb65aea1d]
[bakugan:06570] [ 4] interFoam [0x8064ab8]
[bakugan:06570] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb61d9775]
[bakugan:06570] [ 6] interFoam [0x8062231]
[bakugan:06570] *** End of error message ***
in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/lin in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[bakugan:06572] *** Process received signal ***
[bakugan:06572] Signal: Floating point exception (8)
[bakugan:06572] Signal code: (-6)
[bakugan:06572] Failing at address: 0x19ac
[bakugan:06572] [ 0] [0xb788c410]
[bakugan:06572] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb680b2a1]
[bakugan:06572] [ 2] [0xb788c400]
[bakugan:06572] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb6625a1d]
[bakugan:06572] [ 4] interFoam [0x8064ab8]
[bakugan:06572] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6250775]
u[bakugan:06572] [ 6] interFoam [0x8062231]
[bakugan:06572] *** End of error message ***
xGccDPOpt/interFoam"
[bakugan:06571] *** Process received signal ***
[bakugan:06571] Signal: Floating point exception (8)
[bakugan:06571] Signal code: (-6)
[bakugan:06571] Failing at address: 0x19ab
[bakugan:06571] [ 0] [0xb787e410]
[bakugan:06571] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb67fd2a1]
[bakugan:06571] [ 2] [0xb787e400]
[bakugan:06571] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb6617a1d]
[bakugan:06571] [ 4] interFoam [0x8064ab8]
[bakugan:06571] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6242775]
[bakugan:06571] [ 6] interFoam [0x8062231]
[bakugan:06571] *** End of error message ***
in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[bakugan:06569] *** Process received signal ***
[bakugan:06569] Signal: Floating point exception (8)
[bakugan:06569] Signal code: (-6)
[bakugan:06569] Failing at address: 0x19a9
[bakugan:06569] [ 0] [0xb7855410]
[bakugan:06569] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb67d42a1]
[bakugan:06569] [ 2] [0xb7855400]
[bakugan:06569] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb65eea1d]
[bakugan:06569] [ 4] interFoam [0x8064ab8]
[bakugan:06569] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6219775]
[bakugan:06569] [ 6] interFoam [0x8062231]
[bakugan:06569] *** End of error message ***
_start--------------------------------------------------------------------------
mpirun noticed that process rank 7 with PID 6572 on node bakugan exited on signal 8 (Floating point exception).
------------------------ end error dump ----------------------------------------
------------------------- controlDict ----------------------------------------------
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application interFoam;

startFrom latestTime;

startTime 0.008;

stopAt endTime;

endTime 0.015;

deltaT 0.00000000000001;

writeControl adjustableRunTime;

writeInterval 0.001;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression uncompressed;

timeFormat general;

timePrecision 6;

runTimeModifiable yes;

adjustTimeStep yes;

maxCo 0.5;
maxAlphaCo 0.5;

maxDeltaT 0.01;


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


any insight or suggestions are greatly appreciated.

-Lori
lth is offline   Reply With Quote

Old   July 30, 2013, 06:42
Default
  #5
New Member
 
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 13
majkl is on a distinguished road
Hi,

what was the name of the last time-directory you saved?

M
majkl is offline   Reply With Quote

Old   July 30, 2013, 09:13
Default
  #6
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
Hi Michal,

Last time directory was 0.008

-Lori
lth is offline   Reply With Quote

Old   July 30, 2013, 09:56
Default
  #7
New Member
 
Michal
Join Date: Apr 2012
Location: Czech Republic
Posts: 27
Rep Power: 13
majkl is on a distinguished road
If you solve parallel, look at the processor0 directory if there is some other directories later that the time 0.008.

M
majkl is offline   Reply With Quote

Old   July 30, 2013, 11:57
Default
  #8
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
Quote:
Originally Posted by majkl View Post
If you solve parallel, look at the processor0 directory if there is some other directories later that the time 0.008.

M
Yes, checked and nothhing later than 0.008. Also, am only writing every 0.001 sec. I am unsure if it is struggling with the deltaT in 0.008 file. The deltaT is very stable the last few time steps in my log files too. -L
lth is offline   Reply With Quote

Old   July 31, 2013, 02:29
Default
  #9
lth
Member
 
lth's Avatar
 
lth
Join Date: Mar 2009
Location: Madison, WI, USA
Posts: 37
Blog Entries: 45
Rep Power: 17
lth is on a distinguished road
Hi Michal,

Solved the issue but want to thank you for help. Looked at last deltaT in the log file
---log file info -----
Courant Number mean: 0.0105289 max: 0.499866
deltaT = 1.7331e-06
Time = 0.008

--------------------------

and reduced the ControlDict deltaT initial to that magnitude (will increase after restart too)

---controlDict change ------------
startTime 0.008;
stopAt endTime;
endTime 0.015;
deltaT 0.000001; //0.00000000000001;
writeControl adjustableRunTime;
writeInterval 0.001;

---------------------------------------------------

best, Lori
lth is offline   Reply With Quote

Old   July 25, 2020, 06:36
Default
  #10
New Member
 
AmiN
Join Date: Nov 2014
Posts: 13
Rep Power: 11
AmiN.D is on a distinguished road
Hi,


I'm simulating a 3D Barometer with InterFoam and after time=0.2 there is a sudden decrease in DeltaT. I think it's because of the boundary condition but couldn't get it right so far. Any help would be appreciated. using K-Omega model and i think something is wrong with p_rgh or p:
I want to see the behaviour of barometer when a constant pressure is applied on it [want to get the result like the picture attached]
Mesh is done by SnappyHex and the results are ok

p


Code:
internalField   uniform 0;

boundaryField
{
    Baro_inlet
    {
        type            zeroGradient;

    }

    Baro_outlet
    {
        type            fixedValue;
        value           uniform 0;

    }



    Baro_walls
    {
        type            zeroGradient;

    }



//        frontAndback{        type            slip;    }
}
p_rgh


Code:
internalField   uniform 0;

boundaryField
{
    Baro_walls
    {
     type            zeroGradient;
       
    }

    Baro_inlet
    {
       type            fixedValue;
        value              uniform 10;
    }

    Baro_outlet
    {
       
         type            fixedValue;
        value              uniform 0;


    }

    //frontAndBack    {        type            slip;    }
}
alpha:


Code:


internalField   uniform 0;

boundaryField
{
    //frontAndBack{        type            slip;    }

    Baro_inlet
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }
    Baro_outlet
    {
        type            inletOutlet;
        inletValue      uniform 0;
        value           uniform 0;
    }
    Baro_walls
    {
        type            zeroGradient;
    }
}
Attached Images
File Type: png Screen Shot 2020-07-25 at 12.37.28 PM.png (100.0 KB, 5 views)
raj kumar saini likes this.
AmiN.D 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
Is it to possible to change time step DeltaT during a calculation dbxmcf OpenFOAM Running, Solving & CFD 5 January 26, 2018 16:03
Variable deltaT and functionObjects henrik OpenFOAM Bugs 8 July 22, 2009 04:11
How does deltaT enter in icoFoam nadine OpenFOAM Running, Solving & CFD 0 July 24, 2008 09:15
Courant utility does not always use correct deltat schmidt_d OpenFOAM Bugs 0 June 5, 2007 11:45
How can I write and display div(gradT)=deltaT= d2/ Rid Main CFD Forum 0 February 1, 2006 22:13


All times are GMT -4. The time now is 15:42.