Dear All.
I'm trying to use
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 |
hi Stefano. its just a guess,
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 |
Hello Peter,
The regionCoup
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 |
im not quite sure what the pro
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 |
Here what i did (I'm using ubu
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 |
Heya,
regionCoupling and re
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 |
No problem. Thanks for let me
No problem. Thanks for let me know.
Let me know when you solved the problems. Stefano |
Hi Stefano
You explained how
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 |
Hello.
Yes, it works. I tried
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 |
Thanks The missing flex was it
Thanks The missing flex was it, now it the compiling was successful
|
Hi all,
I am in the process
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 |
Hi Brent,
Did you succeed in creating a conjugate mass transfer solver? It would be good to hear from your experience! Regards, Jose Santos |
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 |
Quote:
Dear stephano, I have the same problem.:( did solved it? Best |
Dear Hrv
Could u share the fixed file? Best Mahdi Quote:
|
All times are GMT -4. The time now is 23:01. |