|
[Sponsors] |
Deactivate cellZones for a next stage of my transient simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 19, 2021, 19:46 |
Deactivate cellZones for a next stage of my transient simulation
|
#1 |
Senior Member
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 7 |
Hello
My simulation consists of 2 stages: 1) An injection of coal particles via an air blast from a pressurized container to a vacuumed sphere chamber. 2) A dust explosion after injection is finished and the entrance of the sphere is sealed. I created my mesh in ICEM by defining 3 cellZones and 2 faceZones to delimit my regions of interest (see pic.) These are recognized by OpenFoam accordingly. I am already done with step 1), but now I want to get rid of the CellZones 2&3 as they are no longer required for my simulation. Does anyone know how to tell OpenFoam to don't calculate in these cells? I know that in Fluent one can deactivate cellZones and continue the calculation of the simulation. This closes the domain by introducing a wall. I want to do exactly the same in OpenFoam (delete cellZones 2&3 and convert faceZone1 into a wall). Does anyone know how to do this? |
|
February 19, 2021, 20:02 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
My first thought is mapping to a mesh that only consists of zone 1 using mapFields. I think I remember seeing some similar functionality to limit combustion to a single zone, but I don't know offhand how to do it for everything -- perhaps someone can jump in here. There should be an example of mapFields in the cavity icoFoam tutorial -- at least for the later versions of openfoam.
Caelan |
|
February 20, 2021, 12:04 |
|
#3 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
I am sure I didn't understand the problem (so my apologies), but deleting the files associated with cellZones/faceZones should be enough to remove these from your simulation (or am I too naive)?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 23, 2021, 04:04 |
|
#4 |
Senior Member
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 7 |
Thank you both for your valuable answers. What I ended doing was to create a new mesh without the undesired cellZones and then to map the fields of my last saved time.
In my case, although all mapMethods did the job, the 'mapNearest' and 'interpolate' methods gave me some numerical instabilities once I ran stage 2) of my simulation. Up to now the 'cellPointInterpolate' seems more stable in my case. (I'm using OF8) Last edited by alainislas; February 23, 2021 at 10:13. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient simulation -> Steady state solution | saisanthoshm88 | CFX | 13 | April 10, 2024 05:43 |
How to stop transient simulation which has been run from scheme script? | AlexanderZ | FLUENT | 8 | August 31, 2017 05:25 |
Transient RANS Simulation | Bazinga | Main CFD Forum | 5 | June 21, 2017 12:21 |
Beginning a Transient Simulation | Norflow | CFX | 2 | October 7, 2011 01:38 |
how to identify transient simulation converged | littlelz | CFX | 5 | January 27, 2009 19:13 |