CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [waves2Foam] Long waiting time for large number of gauges (https://www.cfd-online.com/Forums/openfoam-community-contributions/208037-long-waiting-time-large-number-gauges.html)

katakgoreng January 20, 2015 10:27

Long waiting time for large number of gauges
 
Ni Niels,

I have trouble getting wave2Foam to run with large amount of gauges ("surfaceElevation" function object) in the domain.
Previously, I usually use small amount of gauges in my domain. This run almost instantly without any problem.
However, it I increase the amount of gauges (say to 5000 gauges), and run waveFoam, the simulation spent alot of time before entering the time loop as follows :

Code:

Reading g

Reading waveProperties

Reading waveProperties
Reading field p_rgh

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
Calculating field g.h

No finite volume options present

time step continuity errors : sum local = 0, global = 0, cumulative = 0
DICPCG:  Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0
DICPCG:  Solving for pcorr, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 0, global = 0, cumulative = 0
Courant Number mean: 0 max: 0

Starting time loop

<<<<  Really long time here  >>>>

Courant Number mean: 0 max: 0
Interface Courant Number mean: 0 max: 0
deltaT = 0.0011999956
Time = 0.0012

MULES: Solving for alpha1

This could take around 1-2 hour..I'm just wondering if this is normal or there is problem with the initialization of "surfaceElevation" function object. Any advice on this?

Kind regards,
katakgoreng

ngj January 21, 2015 15:34

Good evening,

It has been some time since my last reply, so I will try to wrap everything up:

@Katakgoreng: I have never tried to use that many wave gauges. Could you please try to track it down in order to figure out, where the time is spend? E.g. put some Info statements in the code.

Kind regards,

Niels


All times are GMT -4. The time now is 02:32.