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

multi layerd laplacianfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By bigphil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2016, 11:58
Default multi layerd laplacianfoam
  #1
Member
 
Join Date: Oct 2015
Location: montreal- canada
Posts: 46
Rep Power: 10
Mohammad Jam is on a distinguished road
Hi
is it possible to solve multi layer medium by laplacianFoam solver?
Mohammad Jam is offline   Reply With Quote

Old   September 7, 2016, 14:10
Default
  #2
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Quote:
Originally Posted by Mohammad Jam View Post
Hi
is it possible to solve multi layer medium by laplacianFoam solver?
Do you mean where there are layers of material with different diffusivities?

If so, the answer is no for the default laplacianFoam but it is very easily modified to allow this. The diffusivity (called DT) in laplacianFoam.C is a dimensionedScalar (same value for every cell); you could change this to be a volScalarField that you read from the case: this would allow you to set a different DT for every cell; you could set layers using setFields.

You may need to be careful if there is a large discrete jump in DT across an interface, as the normal gradient would not be defined; however, the default method may be fine depending on what you are interested in.

Philip
alia likes this.
bigphil is offline   Reply With Quote

Old   September 7, 2016, 15:16
Default
  #3
Member
 
Join Date: Oct 2015
Location: montreal- canada
Posts: 46
Rep Power: 10
Mohammad Jam is on a distinguished road
Any answer is welcome!

Regards,
Mohammad
Mohammad Jam is offline   Reply With Quote

Old   September 7, 2016, 15:22
Default
  #4
Member
 
Join Date: Oct 2015
Location: montreal- canada
Posts: 46
Rep Power: 10
Mohammad Jam is on a distinguished road
Quote:
Originally Posted by bigphil View Post
Do you mean where there are layers of material with different diffusivities?

If so, the answer is no for the default laplacianFoam but it is very easily modified to allow this. The diffusivity (called DT) in laplacianFoam.C is a dimensionedScalar (same value for every cell); you could change this to be a volScalarField that you read from the case: this would allow you to set a different DT for every cell; you could set layers using setFields.

You may need to be careful if there is a large discrete jump in DT across an interface, as the normal gradient would not be defined; however, the default method may be fine depending on what you are interested in.

Philip

Hi Phllip
thanks for your kind response,

How can i implement complex shape like closed curve ( NOT ordinary shape like circle ...) by setFields or funkySetFields? is it possible to do?
i want to simulate heat transfer in human eye as i attached its picture.

Regards,
Mohammad
Attached Images
File Type: jpg Three_Main_Layers_of_the_Eye.jpg (59.9 KB, 16 views)
Mohammad Jam is offline   Reply With Quote

Old   September 8, 2016, 04:08
Default
  #5
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Hi Jam,
The convenient way for generating mesh for the mentioned structure can be Gambit or GridGen, and then transfer it to OpenFOAM format.

Cheers
shakil
ahmmedshakil is offline   Reply With Quote

Old   September 8, 2016, 07:49
Default
  #6
Member
 
Join Date: Oct 2015
Location: montreal- canada
Posts: 46
Rep Power: 10
Mohammad Jam is on a distinguished road
Quote:
Originally Posted by ahmmedshakil View Post
Hi Jam,
The convenient way for generating mesh for the mentioned structure can be Gambit or GridGen, and then transfer it to OpenFOAM format.

Cheers
shakil
Hi Mohammad

you are right, But every layer of mentioned structure has different value properties e.g. thermal conductivity and i want to implement these properties by funkySetField.

any idea?

Regards,
jam
Mohammad Jam is offline   Reply With Quote

Reply


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
Multi-region problem using laplacianFoam zfaraday OpenFOAM Pre-Processing 9 March 19, 2023 06:20
Add solar radiation to laplacianFoam aar_out OpenFOAM Programming & Development 2 April 30, 2017 15:12
Single Core vs. Multi Core Issue Traction FLUENT 2 May 14, 2014 13:52
[snappyHexMesh] Multi region meshing & recovering the original patch names fluidpath OpenFOAM Meshing & Mesh Conversion 4 May 19, 2013 19:13
What is multi compoent diffusion radiation.boy FLUENT 0 October 19, 2011 02:44


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