|
[Sponsors] |
January 3, 2009, 07:09 |
Dear All.
I'm trying to use
|
#1 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17 |
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 |
|
January 3, 2009, 07:37 |
hi Stefano. its just a guess,
|
#2 |
New Member
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
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 |
|
January 3, 2009, 08:09 |
Hello Peter,
The regionCoup
|
#3 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17 |
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 |
|
January 3, 2009, 11:10 |
im not quite sure what the pro
|
#4 |
New Member
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 17 |
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 |
|
January 3, 2009, 12:40 |
Here what i did (I'm using ubu
|
#5 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17 |
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 |
|
January 4, 2009, 08:26 |
Heya,
regionCoupling and re
|
#6 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33 |
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 |
|
January 4, 2009, 13:46 |
No problem. Thanks for let me
|
#7 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17 |
No problem. Thanks for let me know.
Let me know when you solved the problems. Stefano |
|
January 12, 2009, 11:17 |
Hi Stefano
You explained how
|
#8 |
New Member
Naish
Join Date: Mar 2009
Location: Germany
Posts: 11
Rep Power: 17 |
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 |
|
January 12, 2009, 18:01 |
Hello.
Yes, it works. I tried
|
#9 |
New Member
stefano zinna
Join Date: Mar 2009
Posts: 29
Rep Power: 17 |
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 |
|
January 15, 2009, 10:32 |
Thanks The missing flex was it
|
#10 |
New Member
Naish
Join Date: Mar 2009
Location: Germany
Posts: 11
Rep Power: 17 |
Thanks The missing flex was it, now it the compiling was successful
|
|
March 5, 2009, 16:55 |
Hi all,
I am in the process
|
#11 |
New Member
Brent Craven
Join Date: Mar 2009
Location: University Park, PA, USA
Posts: 21
Rep Power: 17 |
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 |
|
July 16, 2009, 06:15 |
|
#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 |
|
August 25, 2009, 05:57 |
|
#13 |
Member
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 17 |
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.Thanks in advance. Kind Regards Jitao |
|
June 10, 2013, 11:12 |
|
#14 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 15 |
Quote:
Dear stephano, I have the same problem. did solved it? Best |
||
June 11, 2013, 08:48 |
|
#15 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 15 |
Dear Hrv
Could u share the fixed file? Best Mahdi Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
primitve 2D regions in CFX | shrimp | CFX | 3 | September 5, 2008 17:32 |
2d regions in ansys cfx 11 | catrina | CFX | 5 | March 5, 2008 16:47 |
Can I use coupled solver in seperated flow regions | Frank | FLUENT | 0 | April 16, 2006 05:53 |
connect the regions | Lalitha | Siemens | 2 | July 5, 2005 04:02 |
2D Regions | Claudia | CFX | 2 | December 25, 2002 09:09 |