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

Deactivate cellZones for a next stage of my transient simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2021, 19:46
Default Deactivate cellZones for a next stage of my transient simulation
  #1
Senior Member
 
alainislas's Avatar
 
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 7
alainislas is on a distinguished road
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?
Attached Images
File Type: jpg cellZones.jpg (20.9 KB, 19 views)
alainislas is offline   Reply With Quote

Old   February 19, 2021, 20:02
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
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
clapointe is offline   Reply With Quote

Old   February 20, 2021, 12:04
Default
  #3
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
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)?
HPE is offline   Reply With Quote

Old   February 23, 2021, 04:04
Default
  #4
Senior Member
 
alainislas's Avatar
 
Alain Islas
Join Date: Nov 2019
Location: Mexico
Posts: 142
Rep Power: 7
alainislas is on a distinguished road
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.
alainislas 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
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


All times are GMT -4. The time now is 14:09.