CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

how to define a region with specific gas

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2016, 03:54
Default how to define a region with specific gas
  #1
New Member
 
Join Date: Jan 2016
Posts: 15
Rep Power: 10
SH_Zhong is on a distinguished road
Hi friends. I am working on a project about combustion in a box-a DNS study.Since I am a freshman with OF, I come across many problems. One of my problems is how to define a region with specific gas like n-heptane, I want a spherical region in my box, which is filled with n-heptane. However, I don't know how to achieve it.
Many thanks in advance.
SH_Zhong is offline   Reply With Quote

Old   April 15, 2016, 06:12
Default
  #2
New Member
 
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10
Pier84 is on a distinguished road
Are you using XiFoam?
I would like to know as well how define a gas region in an air domain containing a gas region.

PO
Pier84 is offline   Reply With Quote

Old   April 15, 2016, 11:18
Default setfields utility
  #3
New Member
 
Join Date: Jan 2016
Posts: 15
Rep Power: 10
SH_Zhong is on a distinguished road
Quote:
Originally Posted by Pier84 View Post
Are you using XiFoam?
I would like to know as well how define a gas region in an air domain containing a gas region.

PO
Hi PO,
I am using reactingFoam instead of XiFoam. And I hava define a region with different gas with setfields utility. You can learn about damBreak for a example, which is in the tutorial-multiphase-interFoam.

SH
SH_Zhong is offline   Reply With Quote

Old   April 18, 2016, 00:34
Default
  #4
New Member
 
Pierluigi Olmati
Join Date: Apr 2016
Location: Tokyo
Posts: 21
Rep Power: 10
Pier84 is on a distinguished road
Quote:
Originally Posted by SH_Zhong View Post
Hi PO,
I am using reactingFoam instead of XiFoam. And I hava define a region with different gas with setfields utility. You can learn about damBreak for a example, which is in the tutorial-multiphase-interFoam.

SH
Hi Zhong,

Thank you for the suggestion.
I used the utility "setFields" as in the damBreak example. I think I miss something because XiFoam does not read the defined gas region.

Please give more about using setFields for defining a gas region. I used setFields for mapping Su for example (e.g. Su=0 outside the gas region) but it does not work.

Thanks,
PO

Last edited by Pier84; April 19, 2016 at 01:16.
Pier84 is offline   Reply With Quote

Reply

Tags
boxturb, combustion


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
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 09:48
how to define a flow region with .stl file? jason_sjtu FLOW-3D 0 July 21, 2014 22:14
select specific region of mesh in CFX payam.t CFX 10 April 20, 2012 04:31
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


All times are GMT -4. The time now is 01:08.