|
[Sponsors] |
Adding local time stepping to twoPhaseEulerFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 24, 2019, 22:24 |
Adding local time stepping to twoPhaseEulerFoam
|
#1 |
Member
Join Date: Apr 2016
Posts: 30
Rep Power: 10 |
Hi all,
I am trying to add local time stepping to twoPhaseEulerFoam. I am using reactingTwoPhaseEulerFoam as a reference. I have made all the necessary changes to twoPhaseEulerFoam.C, twoPhaseSystem.C and createFields.H. However I am getting the following error Code:
--> FOAM FATAL ERROR: request for volScalarField rSubDeltaT from objectRegistry region0 failed available objects of type volScalarField are 25 ( thermo:alpha.air alpha.air_0 thermo:alpha.water psi alpha.water T.air thermo:psi.water T.water p_rgh dpdt gh thermo:psi.air rDeltaT thermo:rho.air alpha.air_0_ p K.air thermo:rho.water K.water alpha.air thermo:mu.water e.air thermo:mu.air dgdt e.water ) From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>] in file /opt/CFDSupportFOAM4.0/beta/OpenFOAM-dev/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting Can anyone help me out with this problem? Your help in this matter is greatly appreciated. Thanks and Regards, Shantanu Vachhani |
|
March 31, 2019, 16:42 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers: I received your PM but I was only able to try and look into this right now.
Without being able to see the modified code, it's fairly hard to diagnose the actual issue, specially since I've never done this myself. The best I can do is point you to commits where this change has been done:
From the PM you sent me: Quote:
The idea is that you can increase the "maxCo" value in "controlDict", as long as you also increase the "nOuterCorrectors" accordingly... but you try in a separate run, to see how it affects the simulation and how to calibrate it to your specific case. From my experience, sometimes it works with fairly high Courant Numbers (have used maxCo 40 and some 6-8 nOuterCorrectors with it), but the results weren't exactly trustworthy... the time diffusion was too high and there were instances where it generated artificial mass to compensate for an instability. Beyond this, I would suggest a coarser mesh, so that the time steps could be higher... if possible.
__________________
|
||
Tags |
localeuler, lts scheme, reactingtwophaseeulerfoam, timestep, twophaseeulerfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
LES, Courant Number, Crash, Sudden | Alhasan | OpenFOAM Running, Solving & CFD | 5 | November 22, 2019 03:05 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |