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

Multi-region problem using laplacianFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 29, 2013, 16:31
Question Multi-region problem using laplacianFoam
  #1
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 276
Rep Power: 12
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!
__________________
I'm newbie in OpenFOAM's world and not an English-speaking, so if I make any mistake a correction will be welcome!

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: 276
Rep Power: 12
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!
__________________
I'm newbie in OpenFOAM's world and not an English-speaking, so if I make any mistake a correction will be welcome!
zfaraday is offline   Reply With Quote

Old   August 22, 2014, 17:44
Default
  #3
New Member
 
Cliff
Join Date: Aug 2014
Posts: 10
Rep Power: 2
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, 09:39
Default
  #4
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 276
Rep Power: 12
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
__________________
I'm newbie in OpenFOAM's world and not an English-speaking, so if I make any mistake a correction will be welcome!
zfaraday is offline   Reply With Quote

Old   August 25, 2014, 22:50
Default
  #5
New Member
 
Cliff
Join Date: Aug 2014
Posts: 10
Rep Power: 2
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, 10:28
Default
  #6
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 276
Rep Power: 12
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
__________________
I'm newbie in OpenFOAM's world and not an English-speaking, so if I make any mistake a correction will be welcome!
zfaraday is offline   Reply With Quote

Old   August 27, 2014, 15:29
Default
  #7
New Member
 
Cliff
Join Date: Aug 2014
Posts: 10
Rep Power: 2
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 16:51.
cliffdub is offline   Reply With Quote

Old   August 27, 2014, 17:12
Default
  #8
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 276
Rep Power: 12
zfaraday will become famous soon enough
Thanks Cliff, that's good to know!
__________________
I'm newbie in OpenFOAM's world and not an English-speaking, so if I make any mistake a correction will be welcome!
zfaraday is offline   Reply With Quote

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

Reply

Tags
laplacianfoam, multiregion

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


All times are GMT -4. The time now is 18:15.