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

Multi-region problem using laplacianFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2013, 16:31
Question Multi-region problem using laplacianFoam
  #1
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
Hi FOAMers!!

I'm quite new in this fascinating world (this is actually the first thread I open) and the most I have done since I started with this is to solve heat conduction problems using laplacianFoam. I have tried other solvers of the tutorials directory, mainly the ones related to heat transfer, but the problems I've had to solve until now I have solved them with laplacianFoam,

The point is that now I'm facing a heat conduction problem in a piece made of two diferent materials (with convection BC's). I don't know exactly how to implement it in OF, I've been reading lots of threads here in the forum but I still can't see it clear... I have seen there are more than one method to define the geometry: using a "*.setSet" file, naming the different blocks in the blockMeshDict file... And I don't know if there are more ways to do it. I still don't even understand clearly the way BC's are defined in a multi-region case.

But my main question is can I solve a multi-region problem with the laplacianFoam solver? If so, How can I do it?

The way I see it, the fact that a problem has multiple regions has nothing to do with the kind of solver used but a teacher of mine, who is training me with the use of OF, told me it was not possible with laplacianFoam and I had to use chtMultiRegionFoam. Besides, all threads I've read in the forum (except one of them) about multi-region problems talk about chtMultiRegionFoam so I don't know if my teacher is right or not...

Any post will be welcome and apreciated. Thanks in advance!
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!

Last edited by zfaraday; October 31, 2013 at 15:03.
zfaraday is offline   Reply With Quote

Old   November 18, 2013, 09:54
Default
  #2
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
Could anyone, please, help me with this problem? I need some hint to solve it urgently!

Thanks in advance!
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   August 22, 2014, 18:44
Default
  #3
New Member
 
Cliff
Join Date: Aug 2014
Posts: 10
Rep Power: 12
cliffdub is on a distinguished road
Hi Alex,

Did you have any success on solving your multiregion Laplacian? I also would like to do this.

Thanks,

Cliff
cliffdub is offline   Reply With Quote

Old   August 24, 2014, 10:39
Default
  #4
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
Hi Cliff,

It's not possible to solve a multiregion problem with laplacianFoam solver. LaplacianFoam is only valid for single regions. The only way to solve that sort of problems is using chtMultiRegionFoam. There you just have to define all your solid regions in the regionProperties file down to constant folder and leave empty the fluid option in the same file.
Finally I never had to solve this kind of problem but I'm sure it has to work fine.

Hope it helped.

Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   August 25, 2014, 23:50
Default
  #5
New Member
 
Cliff
Join Date: Aug 2014
Posts: 10
Rep Power: 12
cliffdub is on a distinguished road
Thanks much Alex. I have it working now. I didn't leave the fluid option empty ( ).
cliffdub is offline   Reply With Quote

Old   August 27, 2014, 11:28
Default
  #6
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
Could you, please, post your approach, Cliff? This way you could help people (maybe me aswell) in the future.

Thanks!

Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   August 27, 2014, 16:29
Default
  #7
New Member
 
Cliff
Join Date: Aug 2014
Posts: 10
Rep Power: 12
cliffdub is on a distinguished road
I was able to use chtMultiRegion to solve conduction between two solids by just leaving the fluid regions empty in regionProperties, like this:

Code:
        
 regions
(
     fluid     ()
     solid     (leftSolid rightSolid)
);

Last edited by cliffdub; August 27, 2014 at 17:51.
cliffdub is offline   Reply With Quote

Old   August 27, 2014, 18:12
Default
  #8
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
Thanks Cliff, that's good to know!
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   April 11, 2015, 06:54
Default
  #9
New Member
 
Join Date: Mar 2015
Posts: 25
Rep Power: 11
Arslan Arshad is on a distinguished road
"Cliff"
can you please share your case?
Arslan Arshad is offline   Reply With Quote

Old   March 19, 2023, 07:20
Default Boundary condition
  #10
New Member
 
Dibyendu Rana
Join Date: Dec 2022
Posts: 5
Rep Power: 3
dibyendu is on a distinguished road
Quote:
Originally Posted by cliffdub View Post
I was able to use chtMultiRegion to solve conduction between two solids by just leaving the fluid regions empty in regionProperties, like this:

Code:
        
 regions
(
     fluid     ()
     solid     (leftSolid rightSolid)
);
What is the boundary condition at solid-solid interface? Can you please share your case file ?
dibyendu is offline   Reply With Quote

Reply

Tags
laplacianfoam, multiregion


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
[Other] Material properties in multi region foam and refining mesh for each region mukut OpenFOAM Meshing & Mesh Conversion 2 October 7, 2013 03:08
[snappyHexMesh] Multi Region Meshing bruce OpenFOAM Meshing & Mesh Conversion 12 July 31, 2013 11:09
Problem running simpleFoam on a multi element airfoil vinz OpenFOAM Running, Solving & CFD 18 April 11, 2013 12:26
Problem in setting porosity region for rhoPorousSimpleFoam run_cfd OpenFOAM Pre-Processing 1 May 31, 2011 10:02
Problem in defining porous region on an imported tetrahedral mesh run_cfd OpenFOAM Pre-Processing 0 May 24, 2011 03:15


All times are GMT -4. The time now is 13:49.