|
[Sponsors] |
November 18, 2016, 11:36 |
Delta T different from controlDict
|
#1 |
New Member
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12 |
Hello!
I'm trying to do a simulation with rhoCentralFoam. During simulation delta T change from the delta T imposed in controDict file. i imposed DeltaT=0.02 during simulation it become around 10^-7 How is it possibile? |
|
November 18, 2016, 17:51 |
|
#3 | |
New Member
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12 |
Quote:
|
||
November 21, 2016, 05:54 |
|
#4 |
New Member
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12 |
[CODE#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:? #2 in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:? #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&) at ??:? #5 at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 at ??:? floating point error ][/CODE] Now i have this problem, but i can't read where is the problem. |
|
November 21, 2016, 06:19 |
|
#5 |
Member
Ben Jankauskas
Join Date: Jun 2013
Location: Exeter
Posts: 34
Rep Power: 12 |
Hi,
The error message on it's own doesn't really help, so uploading your code might help users around here to help you more. Anyway, Floating point exceptions usually come up when division by zero pops up in the code, or some mathematical operation is applied on a not a number (NaN) value. Your error message is rather cryptic, but there is one thing that I notice: Code:
#3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:? #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&) at ??:? Hope this helps. Cheers, Ben |
|
November 21, 2016, 06:26 |
|
#6 | |
New Member
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12 |
Quote:
I really don't know what can be squared. The solver is RhoCentralFoam. What do you mean with upoload the code? all directory 0, system and constant? or just some file like u,p,T ? |
||
November 21, 2016, 06:54 |
|
#7 |
Member
Ben Jankauskas
Join Date: Jun 2013
Location: Exeter
Posts: 34
Rep Power: 12 |
Hi,
I have guessed that you are using your own modified version of the solver, hence my suggestion. If you are using stock RhoCentralFoam, then I will take a look at what it does later today. Anyways, are you running on a tutorial case or your own case? If your own, then are you able to replicate the error message on one of the tutorial cases? Finally, if you haven't fiddled with solver code, then my best guess is that your case setup has an issue somewhere (most probably in your boundary/initial conditions). So I would check them against a working tutorial case side by side and see what BC's they are using there and maybe this will give you a hint on where the mistake is present. Cheers, Ben |
|
November 21, 2016, 08:47 |
|
#8 | |
New Member
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12 |
Quote:
I haven't touched the solver code. The courant number is high. I've tried different mesh, but the problem still stand. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smoothing of IDDES delta | Fuchs | OpenFOAM Running, Solving & CFD | 2 | November 17, 2020 11:17 |
LES turbulence model: how to write delta | Sylv | OpenFOAM Programming & Development | 3 | January 14, 2018 17:19 |
keyword delta is undefined... but it is! | kingjewel1 | OpenFOAM Running, Solving & CFD | 1 | February 22, 2016 11:28 |
Delta wing cfd | H_R | FLUENT | 16 | September 19, 2013 04:41 |
writing controlDict as otherfields | ubaid | OpenFOAM | 5 | September 29, 2010 07:28 |