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

Laplacian Solver. Assigning different transport properties

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

Like Tree2Likes
  • 2 Post By mks

Reply
 
LinkBack Thread Tools Display Modes
Old   November 23, 2009, 05:59
Default Laplacian Solver. Assigning different transport properties
  #1
mks
New Member
 
Join Date: Nov 2009
Posts: 10
Rep Power: 7
mks is on a distinguished road
Hello,

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?

Last edited by mks; November 23, 2009 at 09:45. Reason: Adding information
mks is offline   Reply With Quote

Old   November 24, 2009, 09:53
Default Problem seems to be solved.
  #2
mks
New Member
 
Join Date: Nov 2009
Posts: 10
Rep Power: 7
mks is on a distinguished road
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
(
IOobject
(
"DT",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
);

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:

defaultFieldValues
(
volScalarFieldValue DT 4e-04
);

regions
(
boxToCell
{
box ( 0 0 0 ) ( 1.5 3 0.1 );
fieldValues
(
volScalarFieldValue DT 1e-04
);
}
);

After compiling the new solver and running it i got a temperature distribution that seems to be right.
MarkW and Arslan Arshad like this.
mks is offline   Reply With Quote

Old   April 7, 2015, 20:20
Default
  #3
New Member
 
Join Date: Mar 2015
Posts: 25
Rep Power: 2
Arslan Arshad is on a distinguished road
can you share your case here?
Arslan Arshad is offline   Reply With Quote

Old   April 8, 2015, 01:59
Default
  #4
mks
New Member
 
Join Date: Nov 2009
Posts: 10
Rep Power: 7
mks is on a distinguished road
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.
mks is offline   Reply With Quote

Old   April 8, 2015, 16:33
Thumbs up
  #5
New Member
 
Join Date: Mar 2015
Posts: 25
Rep Power: 2
Arslan Arshad is on a distinguished road
arslan.arshad786@yahoo.com


THANK YOU
Arslan Arshad is offline   Reply With Quote

Old   April 20, 2015, 10:04
Default
  #6
New Member
 
Join Date: Mar 2015
Posts: 25
Rep Power: 2
Arslan Arshad is on a distinguished road
I did not get your mail.
Please send it to the email given below:
arslan.arshad786@yahoo.com
Arslan Arshad is offline   Reply With Quote

Reply

Tags
heat transfer, laplacianfoam, laplacianschemes, multiregion, temperature

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReactingFoam Laminar flame simulation transport properties gbansal OpenFOAM Running, Solving & CFD 3 November 23, 2012 17:03
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Transport properties with PPDF combustion Erik CD-adapco 0 February 18, 2009 06:18
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32


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