|
[Sponsors] |
April 29, 2019, 07:11 |
SetFields for LES simulation
|
#1 |
New Member
Andrea Belle'
Join Date: Apr 2019
Posts: 1
Rep Power: 0 |
Hello. I am running a LES simulation on a simple square pipe geometry using PisoFoam as solver. I would like to initialize some turbulence setting some different initial values of the velocity fields in different regions of my geometry using SetFieldsDict.
Without using SetFields, the simulation works properly. If I use SetFields, I get this error, and I do not understand what I should do to solve the problem. Thank you in advance. /*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 6 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 6-e29811f5dff8 Exec : pisoFoam Date : Apr 29 2019 Time : 11:55:41 Host : "lrspc49" PID : 15432 I/O : uncollated Case : /home/andrea/Desktop/pitzDaily nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type LES Selecting LES turbulence model dynamicKEqn Selecting LES delta type cubeRootVol --> FOAM Warning : From function void Foam::LESModels::cubeRootVolDelta::calcDelta() in file LES/LESdeltas/cubeRootVolDelta/cubeRootVolDelta.C at line 55 Case is 2D, LES is not strictly applicable bounding k, min: 0 max: 2e-05 average: 0 dynamicKEqnCoeffs { filter simple; Ce 1.048; } No MRF models present No finite volume options present #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::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #5 Foam::LESModels::dynamicKEqn<Foam::IncompressibleT urbulenceModel<Foam::transportModel> >::Ck(Foam::GeometricField<Foam::SymmTensor<double >, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const at ??:? #6 Foam::LESModels::dynamicKEqn<Foam::IncompressibleT urbulenceModel<Foam::transportModel> >::correctNut(Foam::GeometricField<Foam::SymmTenso r<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #7 Foam::LESModels::dynamicKEqn<Foam::IncompressibleT urbulenceModel<Foam::transportModel> >::correctNut() at ??:? #8 ? at ??:? #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 ? at ??:? Floating point exception (core dumped) |
|
April 30, 2019, 05:14 |
|
#2 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
A Floating Point Exception often results from a division by zero. Without further information about your variables i'd guess that either the set velocity values is far to larger and instantly breaks the Courant number or one of the turbulence variables is far to small.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence Problem - Transient Simulation | gemxx | Main CFD Forum | 0 | July 15, 2018 10:36 |
Mapping Field Data for Mesh Regions from Another Simulation | veterator | OpenFOAM Pre-Processing | 1 | July 10, 2018 06:28 |
Surface Source - Fixed Temperature? | robtheslob | FloEFD, FloWorks & FloTHERM | 18 | May 12, 2017 03:28 |
Simulation FPEs - turbulence for transient and steady-state? | DaveR | OpenFOAM Running, Solving & CFD | 5 | March 5, 2017 16:06 |
setting up a simulation with multiple interactions | phandy | OpenFOAM Running, Solving & CFD | 1 | October 6, 2014 04:16 |