CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Laplacian Solver. Assigning different transport properties (

mks November 23, 2009 05:59

Laplacian Solver. Assigning different transport properties

i'm trying to solve the following problem using LaplacianFoam: Temperature distribution in a solid consisting of two regions which have different heat transfer coefficients. How can one assign the transport properties (Heat coefficient in LaplacianFoam) to different regions?
The reason is to estimate the distribution of temperature through insulation containing several layers. Any ideas how do solve it? Maybe another solver?

mks November 24, 2009 09:53

Problem seems to be solved.
I think i could solve the problem. For those who is interested in solution: I modified the standard solver LaplacianFoam. In the createFields.H I have changed the way, DT is read in just like the Temperature Field:

Info<< "Reading diffusivity D\n" << endl;

volScalarField DT

Now in temestep 0/ folder create the file DT by copying+modifying the T file. I used the SetFieldsDict in system folder for assigning the DT values to the cell volumes:

volScalarFieldValue DT 4e-04

box ( 0 0 0 ) ( 1.5 3 0.1 );
volScalarFieldValue DT 1e-04

After compiling the new solver and running it i got a temperature distribution that seems to be right.

Arslan Arshad April 7, 2015 20:20

can you share your case here?:confused:

mks April 8, 2015 01:59

Hi Arslan,

yes I could share it, but it is not possible to attach here files larger than 97KB... Give me you email, so I can sent it to you.

Arslan Arshad April 8, 2015 16:33


Arslan Arshad April 20, 2015 10:04

I did not get your mail.
Please send it to the email given below: :o

ancolli February 16, 2017 03:36

Can u share ur example with me?

mks February 16, 2017 05:57

Hi Alejandro,
just sent an email to you!

ktk June 19, 2017 08:18


I've been trying to do this for a while now.. Can any of you please mail me the modified solver files?


All times are GMT -4. The time now is 00:22.