|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 18 ![]() |
Dear All.
I'm trying to use the coupled solver downloaded here: http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ I successfully built the source ThirdParty.General_2008-12-11.tgz + OpenFOAM-1.5-dev.General_2008-12-11.tgz When i run the conjugateHeatFoam tutorial i get the following error: Unknown patchTypefield type regionCouple Valid patchField types are : 11 ( symmetryPlane cyclicGgi ggi empty fixedValue cyclic regionCoupling processor calculated sliced wedge ) From function fvsPatchField<type>::New(const word&, const fvPatch&, const DimensionedField<type,>) in file /home/simulation15/OpenFOAM/OpenFOAM-1.5-dev/src/finiteVolume/lnInclude/newFvsPa tchField.C at line 59. FOAM exiting Does someone know how to fix this error? I didn't find a solution in the forum until now. thanks in advance. Stefano |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 18 ![]() |
hi Stefano. its just a guess, but in the list of valid patch types is a "regionCoupling". have you tried editing the patch type to this (instead of patch type "regionCouple")
also: i have been trying to compile 1.5-dev and thirdparty-12-11 for weeks and i dont know what i am doing wrong. could you tell me how you did it peter |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 18 ![]() |
Hello Peter,
The regionCouple is only in the boundary file in the polyMesh directory as explained in previous posts in this forum. If i select regionCopuling there the following error happens: Attempt to cast type genericPatch to type lduInterface From function refCast<to>(From&) in file /home/simulation15/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/typeInfo.H at line 106. FOAM aborting Aborted Which are the errors you got during the compiling? It is better you show me the first errors you got in the compiling operation. I think the next errors could be caused by some errors at the start. I'm new user but maybe i could help you. Stefano |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 18 ![]() |
im not quite sure what the problem is. here is what i do:
1) unpack openfoam-1.5-dev, openfoam-1.5-linuxGccDPOpt, thirdparty.general, thirdparty.linuxGcc 2) then i copy the folders in openfoam-1.5 folder into openfoam-1.5-dev but i do not replace any of the 1.5-dev files. 3) i go into the 1.5-dev directory and "./Allwmake" 4)after a long time i try icofoam but it doesnt even recognize blockmesh i am not even sure if merging the directories is the right idea. peter peter |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 18 ![]() |
Here what i did (I'm using ubuntu 8.04):
sudo apt-get install gcc lsh-client lsh-server sudo apt-get install libqt4-core libqt4-gui libqt4-sql -After i created a new user: sudo adduser simualtion15 ssh -X simulation15@localhost mkdir OpenFOAM -After i log-out from the administrator and connected as simulation15. I downloaded the packages from http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/. Only ThirdParty.General_2008-12-11.tgz and OpenFOAM-1.5-dev.General_2008-12-11.tgz. - then i unack by: tar xzf ThirdParty.General_2008-12-11.tgz tar xzf OpenFOAM-1.5-dev.General_2008-12-11.tgz - and i connected the packages by adding the following line to the /.bashrc file in the directory simulation15: . $HOME/OpenFOAM/OpenFOAM-1.5-dev/etc/bashrc Finally i went into the 1.5-dev directory and "./Allwmake" The compiling takes some hours. At this moment i'm compiling the OpenFOAM-1.5-dev_2008-12-31.tgz. Maybe it will solve my problem. Hope it is useful. Let me know if not. Stefano |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 34 ![]() |
Heya,
regionCoupling and regionCouple: in fact, this is my problem: a BUG (sorry for using dirty words). There has been some mess in the newFvsPatchField, which insists that if a patch is coupled, the field name and patch name must be the same. There's a lot of other mess in the same file and I am cleaning it up now. Will post again when the code works as it should. Apologies for inconvenience, I have missed this one in the merge. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 18 ![]() |
No problem. Thanks for let me know.
Let me know when you solved the problems. Stefano |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
Naish
Join Date: Mar 2009
Location: Germany
Posts: 11
Rep Power: 18 ![]() |
Hi Stefano
You explained how you compiled 1.5-dev. is it working that way ? please let me know I compiled it a few weeks ago, but now I tried it again and it fails. Naish |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 18 ![]() |
Hello.
Yes, it works. I tried again for new packages in http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ and it works. I forgot to tell to install "flex" before compiling....maybe that it's the problem. Which error you got? Stefano |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Naish
Join Date: Mar 2009
Location: Germany
Posts: 11
Rep Power: 18 ![]() |
Thanks The missing flex was it, now it the compiling was successful
|
|
![]() |
![]() |
![]() |
![]() |
#11 |
New Member
Brent Craven
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 21
Rep Power: 18 ![]() |
Hi all,
I am in the process of converting the conjugateHeatFoam solver in 1.5-dev to a multiphase (e.g., air/water) conjugate mass transfer solver. Basically, I have an air region and a water region and I want to solve for species transport in and between the two phases. This has been pretty straight forward so far, except for the boundary condition at the air-liquid interface. Unlike thermal energy transport, where the temperature is continuous across an interface, there is a discontinuity in concentration at an air-liquid interface. The discontinuity is related to the "solubility" of a species in the liquid and is described by: Ci_liquid = Ci_air / partitionCoefficient where Ci_liquid is the species concentration in the liquid at the interface, Ci_air is the air-phase species concentration at the interface, and partitionCoefficient is a constant. So, conceptually at the boundary I simply need to implement the above equation in place of the continuous BC. Any suggestions on where/how I should do this? I've been going through the regionCouple boundary condition and it's obvious how to implement this. Thanks. -Brent |
|
![]() |
![]() |
![]() |
![]() |
#12 |
Senior Member
|
Hi Brent,
Did you succeed in creating a conjugate mass transfer solver? It would be good to hear from your experience! Regards, Jose Santos |
|
![]() |
![]() |
![]() |
![]() |
#13 |
Member
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 18 ![]() |
Hi Brent,
I am trying to create a new solver based on conjugateHeatFoam called conjugateInterHeatFoam: a transient solver for incompressible, laminar, two phase flow of non-isothermal, non-Newtonian fluids with conjugate heat transfer. I can compile through the new solver with wmake. When running the solver with a 2D test, the calculation stopped with a "segmentation fault" error. Has your multiphase conjugate mass transfer solver finished? How do you treat with the boundary condition at the multi-phase interface? Would you mind giving me some hints ![]() Kind Regards Jitao |
|
![]() |
![]() |
![]() |
![]() |
#14 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 16 ![]() |
Quote:
Dear stephano, I have the same problem. ![]() did solved it? Best |
||
![]() |
![]() |
![]() |
![]() |
#15 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 16 ![]() |
Dear Hrv
Could u share the fixed file? Best Mahdi Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
primitve 2D regions in CFX | shrimp | CFX | 3 | September 5, 2008 18:32 |
2d regions in ansys cfx 11 | catrina | CFX | 5 | March 5, 2008 17:47 |
Can I use coupled solver in seperated flow regions | Frank | FLUENT | 0 | April 16, 2006 06:53 |
connect the regions | Lalitha | Siemens | 2 | July 5, 2005 05:02 |
2D Regions | Claudia | CFX | 2 | December 25, 2002 10:09 |