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

Delta T different from controlDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 18, 2016, 11:36
Default Delta T different from controlDict
  #1
New Member
 
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12
Rovs is on a distinguished road
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?
Rovs is offline   Reply With Quote

Old   November 18, 2016, 15:27
Default
  #2
Member
 
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 11
arsalan.dryi is on a distinguished road
Hi Federico,

Check for adjustableTimeStep option in your controlDict, then follow this section of user guide, finally feel free to ask if any question exist.

Regards,
Arsalan.
arsalan.dryi is offline   Reply With Quote

Old   November 18, 2016, 17:51
Default
  #3
New Member
 
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12
Rovs is on a distinguished road
Quote:
Originally Posted by arsalan.dryi View Post
Hi Federico,

Check for adjustableTimeStep option in your controlDict, then follow this section of user guide, finally feel free to ask if any question exist.

Regards,
Arsalan.
Thanks you very much. I didn't see it. Now i have problem with courant number of course, probably i have to do a mesh with bigger elements.
Rovs is offline   Reply With Quote

Old   November 21, 2016, 05:54
Default
  #4
New Member
 
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12
Rovs is on a distinguished road
[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.
Rovs is offline   Reply With Quote

Old   November 21, 2016, 06:19
Default
  #5
Member
 
Ben Jankauskas
Join Date: Jun 2013
Location: Exeter
Posts: 34
Rep Power: 12
rhythm is on a distinguished road
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 ??:?
We can notice the part Foam::sqrt<, which might be a clue as to where exactly the code is failing. So my advice would be to check whereabouts in your code a quadratic root function is called and see if the fields, that it should be applied on, are correct.

Hope this helps.
Cheers,
Ben
rhythm is offline   Reply With Quote

Old   November 21, 2016, 06:26
Default
  #6
New Member
 
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12
Rovs is on a distinguished road
Quote:
Originally Posted by rhythm View Post
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 ??:?
We can notice the part Foam::sqrt<, which might be a clue as to where exactly the code is failing. So my advice would be to check whereabouts in your code a quadratic root function is called and see if the fields, that it should be applied on, are correct.

Hope this helps.
Cheers,
Ben
Hello Ben, Thanks for reply.

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 ?
Rovs is offline   Reply With Quote

Old   November 21, 2016, 06:54
Default
  #7
Member
 
Ben Jankauskas
Join Date: Jun 2013
Location: Exeter
Posts: 34
Rep Power: 12
rhythm is on a distinguished road
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
rhythm is offline   Reply With Quote

Old   November 21, 2016, 08:47
Default
  #8
New Member
 
federico rovere
Join Date: May 2013
Posts: 11
Rep Power: 12
Rovs is on a distinguished road
Quote:
Originally Posted by rhythm View Post
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
I'm running my own case. An airfoil 2D, pretty simple.
I haven't touched the solver code.
The courant number is high. I've tried different mesh, but the problem still stand.
Rovs 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
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


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