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

Different Transport Properties for Different CellZones

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2014, 11:03
Default Different Transport Properties for Different CellZones
  #1
New Member
 
Yesaswi
Join Date: Jan 2014
Posts: 26
Rep Power: 10
yesaswi92 is on a distinguished road
Hello,

I am trying to solve for a thermal flow with a porous plug. So there will be two cellZones in the mesh
- Fluid
- Porous Domain

The momentum equations for both the domains are different. porousSimpleFoam uses a subroutine to modify the governing equation in the porous zone. So there is no issue for flow solution.

Now to extend the same solver for thermal flow, I added the energy equation. For porous domain, the energy equation is same as it is for fluid domain. Only the transport properties will be different (In porous domain the thermal diffusivity is a volume averaged diffusivity of both the porous material and the fluid).

So I need to give two separate thermal diffusivity values for these two cellZones in the transportProperties file. Can anyone help me in implementing this?

Thank You
Yesaswi

{PS: In multiphase flows, we define the properties of two phases separately. Can I do that for the two cellzones separately?}
yesaswi92 is offline   Reply With Quote

Old   July 11, 2015, 01:33
Post Different transport properties to different cell zones
  #2
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 8
AJAY BHANDARI is on a distinguished road
Hi,
I have the same problem. I am simulating flow through a body tissue which is considered as a porous media. i have a rectangular mesh in which there a two concentric circles.all these three parts are different . they have same porosity but there transport properties are different. I have to assign different transport properties to all these parts. How can i implement this??? How can i assign different transport properties to different zones????? Do i have to code for this??? Plz suggest. Any kind of help will be appreciated....
AJAY BHANDARI is offline   Reply With Quote

Old   June 29, 2016, 12:33
Default
  #3
New Member
 
Join Date: Mar 2016
Posts: 7
Rep Power: 8
catelyn is on a distinguished road
Hello!
Did you solve the problem?
I think I've a similar problem in defining a gravity field that depends on zones.
Could you help me?
catelyn is offline   Reply With Quote

Old   June 30, 2016, 01:16
Post
  #4
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 8
AJAY BHANDARI is on a distinguished road
Hi Catelyn,

Yes you can do it by making a setFieldDict file.

There you assign the properties to different zones. There are lot of zone geometries available like cylinderTo cell, Box To cell.

You can select it according to your choice and then assign properties.

After doing that type setFields on terminal.

I hope this helps..

Best
Ajay
AJAY BHANDARI is offline   Reply With Quote

Old   June 30, 2016, 04:55
Default
  #5
New Member
 
Join Date: Mar 2016
Posts: 7
Rep Power: 8
catelyn is on a distinguished road
Hi Ajay,
thank you for the reply.
I thought that setFields worked with "variables" (pressure, velocity) of the fields to be specified as initial conditions. Typing "setFields", in fact, the files contained in 0 folder change according to the instructions in setFieldsDict.
What I need is to diversify the properties (defined in constant) depending on the position.

Catelyn
catelyn is offline   Reply With Quote

Old   February 15, 2017, 06:50
Default
  #6
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 120
Rep Power: 10
ancolli is on a distinguished road
Quote:
Originally Posted by catelyn View Post
Hi Ajay,
thank you for the reply.
I thought that setFields worked with "variables" (pressure, velocity) of the fields to be specified as initial conditions. Typing "setFields", in fact, the files contained in 0 folder change according to the instructions in setFieldsDict.
What I need is to diversify the properties (defined in constant) depending on the position.

Catelyn
Did u manage to solve your problem? Can u explain to me?
ancolli is offline   Reply With Quote

Old   March 20, 2019, 08:40
Default
  #7
New Member
 
ALOK KUMAR
Join Date: Apr 2016
Posts: 2
Rep Power: 0
alok1463 is on a distinguished road
Hi catelyn,


Did you find any way to solve your problem? I am facing similar problem.
alok1463 is offline   Reply With Quote

Old   March 20, 2019, 09:04
Default
  #8
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 120
Rep Power: 10
ancolli is on a distinguished road
You should create a new field with your variable property and locate it in the 0 directory. It has no sense to have a "constant" (variable) transport property.
ancolli is offline   Reply With Quote

Reply

Tags
energy equation, porous flow, poroussimplefoam, thermal flow, transportproperties

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Polynomial density and transport properties in buoyantBoussinesqSimpleFoam pedera OpenFOAM Running, Solving & CFD 29 November 16, 2016 02:33
Thermophysical properties for natural convection Ciefdi OpenFOAM Running, Solving & CFD 0 November 7, 2013 11:44
Transport and Thermodynamic Properties in cavitatingFoam sfigato OpenFOAM Pre-Processing 0 January 7, 2013 10:59
ReactingFoam Laminar flame simulation transport properties gbansal OpenFOAM Running, Solving & CFD 3 November 23, 2012 16:03
Transport properties with PPDF combustion Erik Siemens 0 February 18, 2009 05:18


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