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

Laplacian Solver. Assigning different transport properties

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 5 Post By mks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2009, 05:59
Default Laplacian Solver. Assigning different transport properties
  #1
mks
New Member
 
Join Date: Nov 2009
Posts: 12
Rep Power: 17
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: 12
Rep Power: 17
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, Arslan Arshad, liub and 2 others like this.
mks is offline   Reply With Quote

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

Old   April 8, 2015, 02:59
Default
  #4
mks
New Member
 
Join Date: Nov 2009
Posts: 12
Rep Power: 17
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, 17:33
Thumbs up
  #5
New Member
 
Join Date: Mar 2015
Posts: 25
Rep Power: 11
Arslan Arshad is on a distinguished road
arslan.arshad786@yahoo.com


THANK YOU
Arslan Arshad is offline   Reply With Quote

Old   April 20, 2015, 11:04
Default
  #6
New Member
 
Join Date: Mar 2015
Posts: 25
Rep Power: 11
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

Old   February 16, 2017, 03:36
Default
  #7
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
Can u share ur example with me?
ancolli@gmail.com
Thanks
ancolli is offline   Reply With Quote

Old   February 16, 2017, 05:57
Default
  #8
mks
New Member
 
Join Date: Nov 2009
Posts: 12
Rep Power: 17
mks is on a distinguished road
Hi Alejandro,
just sent an email to you!
mks is offline   Reply With Quote

Old   June 19, 2017, 09:18
Default Req
  #9
ktk
New Member
 
karthik
Join Date: Jun 2016
Posts: 5
Rep Power: 10
ktk is on a distinguished road
Hi,

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

ID: ktk04spiker@gmail.com
ktk is offline   Reply With Quote

Old   November 20, 2017, 05:27
Default Req
  #10
New Member
 
bobby
Join Date: Jul 2017
Posts: 8
Rep Power: 9
rahul62 is on a distinguished road
Hi,
Can you please share your example with me.
email- gangrahul62@gmail.com

thanks
rahul62 is offline   Reply With Quote

Old   November 20, 2017, 06:00
Default
  #11
mks
New Member
 
Join Date: Nov 2009
Posts: 12
Rep Power: 17
mks is on a distinguished road
Hi rahul62,
sorry, I don't have this anymore. Please ask someone to whom I did send it previously, e.g. ktk04spiker@gmail.com, ancolli@gmail.com, arslan.arshad786@yahoo.com etc.
mks is offline   Reply With Quote

Old   November 20, 2017, 09:39
Default
  #12
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
here it is...
Attached Files
File Type: zip mikaScalarTransportFoam.zip (101.5 KB, 52 views)
ancolli is offline   Reply With Quote

Old   November 20, 2017, 11:04
Default
  #13
New Member
 
bobby
Join Date: Jul 2017
Posts: 8
Rep Power: 9
rahul62 is on a distinguished road
How to define different value of DT for different region. The above case doesn't contain 0 folder.
rahul62 is offline   Reply With Quote

Old   November 20, 2017, 11:16
Default
  #14
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
Quote:
Originally Posted by ancolli View Post
here it is...
Sorry. check this one
Attached Files
File Type: zip example.zip (8.9 KB, 66 views)
ancolli is offline   Reply With Quote

Old   April 2, 2018, 08:27
Default Add heat source
  #15
Member
 
Shailesh BG
Join Date: Aug 2017
Location: Bangalore
Posts: 39
Rep Power: 9
shaileshbg is on a distinguished road
Hi Mks,

That is a wonderful way of assigning transport properties to different regions without having to go through toposet and splitMeshRegions process. But I want to know if it is possible to add heat sources to the different regions created by this way.

In fvOptions the possible selection modes are: all, cellSet, cellZone, points,,

Could you please shed some light on this.
__________________
Regards,
Shailesh
shaileshbg is offline   Reply With Quote

Old   April 3, 2018, 09:11
Default
  #16
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
Quote:
Originally Posted by shaileshbg View Post
Hi Mks,

That is a wonderful way of assigning transport properties to different regions without having to go through toposet and splitMeshRegions process. But I want to know if it is possible to add heat sources to the different regions created by this way.

In fvOptions the possible selection modes are: all, cellSet, cellZone, points,,

Could you please shed some light on this.
I think in that case you should use a multi-region approach. Maybe someone else can give you a different (better) hint.
Regards
ancolli is offline   Reply With Quote

Old   September 20, 2018, 04:41
Default How to give Heat transfer coefficient BCs and variable heat flu Laplacian OpenFoam5
  #17
New Member
 
anand
Join Date: Sep 2018
Posts: 1
Rep Power: 0
srivaka is on a distinguished road
i'm trying to solve 3D conduction problem using LaplacianFoam OF5: Temperature distribution in a solid surrounded by of two regions which have different heat transfer coefficients and ambient Temperatures.And also how to give variable heat flux boundary condition.
I tried groovyBC, but it is not working, any other method please. I have only one region.
srivaka is offline   Reply With Quote

Old   September 20, 2018, 08:26
Default
  #18
Senior Member
 
Alejandro
Join Date: Jan 2014
Location: Argentina
Posts: 128
Rep Power: 12
ancolli is on a distinguished road
You need to use the multiRegion approach. GroovyBC is not working in that case. See tutorials >> heatTransfer >> chtMultiregionFoam and chtMultiregionSimpleFoam

here u have a detailed example for heat transfer

https://www.slideshare.net/ARPITSING...regiontutorial

or a simplified solver witth modified BC for an electrochemical problem

https://www.sciencedirect.com/scienc...170?via%3Dihub

under the multi-region approach

Regards
ancolli is offline   Reply With Quote

Reply

Tags
heat transfer, laplacianfoam, laplacianschemes, multiregion, temperature


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
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 Siemens 0 February 18, 2009 06:18
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32


All times are GMT -4. The time now is 21:37.