|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 ![]() |
Dear Foamers,
I would like to solve the following equation on a multiple domains as shown in the attachment !! Equation: div.(A1 grad(phi)) = B The numbers mentioned in the figure indicate the boundaries where the necessary boundary conditions have to be specified. 1. While incorporating the geometry in the blockMesh, I found that the red and the yellow regions were getting defined as one domain and I was not able to define the boundaries 7,8,9,15,16,17,18,19. I got the following error when the blockMesh is executed. Trying to specify a boundary face 4(34 35 91 90) on the face on cell 13 which is either an internal face or already belongs to some other patch. This is face 0 of patch 8 named alumina_nanopore_upperwall.#0 Foam::error: ![]() #1 Foam::error::abort() in "/home/cmn/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt /libOpenFOAM.so" #2 Foam: ![]() ![]() #3 in "/home/cmn/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh" #4 in "/home/cmn/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh" #5 in "/home/cmn/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/blockMesh" #6 __libc_start_main in "/lib/libc.so.6" #7 __gxx_personality_v0 in "/home/cmn/OpenFOAM/OpenFOAM-1.5/applications/bin/li nux64GccDPOpt/blockMesh" Please let me know, how to modify the blockMesh so that both all the boundaries are consistently defined. Attached please find the blockMesh file. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings Vishal,
![]() If I understand you correctly: since you want to use multiple domains, then you will have to use a solver similar chtMultiRegionFoam. And more specifically for the mesh, you will have to study the tutorial "chtMultiRegionFoam/multiRegionHeater" (http://repo.or.cz/w/OpenFOAM-1.5.x.g...tiRegionHeater) for more information on how to set-up the multiple regions. This is because you first have to split the mesh into the various regions, only then can you assign patches to the faces that are between those regions. Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 ![]() |
Thanks Bruno.
I have installed the latest OF version 2.1.1 ![]() Thanks Regards Vishal Last edited by nandiganavishal; February 17, 2013 at 19:28. Reason: attachment modified |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Vishal,
Sorry, but this is beyond my level of expertise. All I can figure out is that you will need to take one of the "chtMultiRegion*Foam" solvers and modify the source code for solving your equations instead. There is also a "chtIcoMultiRegionFoam" made by someone in the community, which you can use as a coding reference: http://www.cfd-online.com/Forums/ope...egionfoam.html Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 ![]() |
Thanks Bruno.
1. Can you let me know what does the boundary condition "calculated" mean in chtMultiregionFoam!! 2. Further what does the boundary condition compressible::turbulentTemperatureCoupledBaffleMix ed; physically mean ? Can you give me the mathematical form of this equation !! Thanks Regards Vishal |
|
![]() |
![]() |
![]() |
![]() |
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi Vishal,
Bruno
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18 ![]() |
Thanks Bruno !!
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
No turbulence generation in a porous domain | siw | CFX | 3 | September 25, 2012 08:10 |
Cross Flow cooling system involving multiple fluids and a solid domain | ajaymenon | CFX | 4 | March 8, 2012 17:00 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |
How to create multiple solid-fluid domain? | Harendra | Siemens | 6 | January 28, 2005 13:58 |
How to create multiple domain? | Mishar | Siemens | 2 | January 28, 2005 09:41 |