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

Non-uniform transport properties in openFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2020, 01:39
Default Non-uniform transport properties in openFoam
  #1
New Member
 
Russian Federation
Join Date: Apr 2020
Posts: 18
Rep Power: 6
fetc95 is on a distinguished road
Hello

In the dictionary transportProperties, we set transport properties that are constant. Does OpenFOAM have possibility to set non-uniform transport properties that are functions of coordinates and time?

For example, let me want to solve transport equation

\f[
\ddt{T} = \div ( D(x, t) \grad T )
\f]

If D is constant, I just will type in transportProperties, e.g., as follows:

D 0.1

But is there a possibility to set D as a function?
fetc95 is offline   Reply With Quote

Old   April 20, 2020, 02:33
Default Yes variable transport is possible
  #2
New Member
 
Karthik Thyagarjan
Join Date: Jul 2019
Posts: 4
Rep Power: 6
kbeat is on a distinguished road
The implementation is a bit tricky.
You need to create a separate header with function to modify the 'D'
at each cell value during runtime. you an take existing fields as input.

I did an implementation where i took the transport properties from a external source for multi-component transport model.
kbeat is offline   Reply With Quote

Old   April 20, 2020, 04:19
Default
  #3
New Member
 
Russian Federation
Join Date: Apr 2020
Posts: 18
Rep Power: 6
fetc95 is on a distinguished road
Quote:
Originally Posted by kbeat View Post
The implementation is a bit tricky.
You need to create a separate header with function to modify the 'D'
at each cell value during runtime. you an take existing fields as input.

I did an implementation where i took the transport properties from a external source for multi-component transport model.
Thanks. Does it mean that, e.g., for solving the above equation I cannot use the laplacianFoam and need to build a new solver?
fetc95 is offline   Reply With Quote

Old   November 2, 2023, 21:04
Default
  #4
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 401
Rep Power: 19
quarkz is on a distinguished road
Hi, any update?

Is it possible to use something like this below (similar to initial condition)?

inlet
{

type uniformFixedValue;
uniformValue table
(
(0 (0 0 0))
(0.0008 (4270 0 0))
);
}
quarkz is offline   Reply With Quote

Reply

Tags
transport coefficient, transportproperties


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
FOAM FATAL ERROR: Maximum number of iterations exceeded: 100 antoniomollo OpenFOAM Running, Solving & CFD 5 March 2, 2023 06:13
multiphaseEulerFoam/tank discharge ves OpenFOAM Running, Solving & CFD 8 December 31, 2017 14:59
pressure and velocity in OpenFoam is smaller than Fluent mechy OpenFOAM 4 September 18, 2013 16:19
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 07:32
RasInterFoam STRANGE RESULTS AT BOUNDARY kumar2 OpenFOAM Running, Solving & CFD 8 March 24, 2008 18:38


All times are GMT -4. The time now is 20:39.