CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

COUPLED REGIONS

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

Like Tree2Likes
  • 1 Post By giordy
  • 1 Post By hjasak

Reply
 
LinkBack Thread Tools Display Modes
Old   January 3, 2009, 08:09
Default Dear All. I'm trying to use
  #1
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 14
Rep Power: 8
giordy is on a distinguished road
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
mm.abdollahzadeh likes this.
giordy is offline   Reply With Quote

Old   January 3, 2009, 08:37
Default hi Stefano. its just a guess,
  #2
New Member
 
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 8
canfield is on a distinguished road
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
canfield is offline   Reply With Quote

Old   January 3, 2009, 09:09
Default Hello Peter, The regionCoup
  #3
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 14
Rep Power: 8
giordy is on a distinguished road
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
giordy is offline   Reply With Quote

Old   January 3, 2009, 12:10
Default im not quite sure what the pro
  #4
New Member
 
Peter Canfield
Join Date: Mar 2009
Posts: 16
Rep Power: 8
canfield is on a distinguished road
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
canfield is offline   Reply With Quote

Old   January 3, 2009, 13:40
Default Here what i did (I'm using ubu
  #5
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 14
Rep Power: 8
giordy is on a distinguished road
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
giordy is offline   Reply With Quote

Old   January 4, 2009, 09:26
Default Heya, regionCoupling and re
  #6
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
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
mm.abdollahzadeh likes this.
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 4, 2009, 14:46
Default No problem. Thanks for let me
  #7
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 14
Rep Power: 8
giordy is on a distinguished road
No problem. Thanks for let me know.
Let me know when you solved the problems.

Stefano
giordy is offline   Reply With Quote

Old   January 12, 2009, 12:17
Default Hi Stefano You explained how
  #8
New Member
 
Naish
Join Date: Mar 2009
Location: Germany
Posts: 11
Rep Power: 8
naish is on a distinguished road
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
naish is offline   Reply With Quote

Old   January 12, 2009, 19:01
Default Hello. Yes, it works. I tried
  #9
New Member
 
stefano zinna
Join Date: Mar 2009
Posts: 14
Rep Power: 8
giordy is on a distinguished road
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
giordy is offline   Reply With Quote

Old   January 15, 2009, 11:32
Default Thanks The missing flex was it
  #10
New Member
 
Naish
Join Date: Mar 2009
Location: Germany
Posts: 11
Rep Power: 8
naish is on a distinguished road
Thanks The missing flex was it, now it the compiling was successful
naish is offline   Reply With Quote

Old   March 5, 2009, 17:55
Default 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: 8
brent_craven is on a distinguished road
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
brent_craven is offline   Reply With Quote

Old   July 16, 2009, 06:15
Default
  #12
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 213
Rep Power: 9
santos is on a distinguished road
Send a message via Skype™ to santos
Hi Brent,

Did you succeed in creating a conjugate mass transfer solver? It would be good to hear from your experience!

Regards,
Jose Santos
santos is offline   Reply With Quote

Old   August 25, 2009, 05:57
Default
  #13
Member
 
Jitao Liu
Join Date: Mar 2009
Location: Jinan , China
Posts: 64
Rep Power: 8
awacs is on a distinguished road
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
awacs is offline   Reply With Quote

Old   June 10, 2013, 11:12
Default
  #14
Senior Member
 
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 149
Rep Power: 6
mm.abdollahzadeh is on a distinguished road
Quote:
Originally Posted by giordy View Post
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

Dear stephano,

I have the same problem.

did solved it?

Best
mm.abdollahzadeh is offline   Reply With Quote

Old   June 11, 2013, 08:48
Default
  #15
Senior Member
 
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 149
Rep Power: 6
mm.abdollahzadeh is on a distinguished road
Dear Hrv

Could u share the fixed file?

Best
Mahdi

Quote:
Originally Posted by hjasak View Post
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
mm.abdollahzadeh is offline   Reply With Quote

Reply

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
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 17:47
Can I use coupled solver in seperated flow regions Frank FLUENT 0 April 16, 2006 05:53
connect the regions Lalitha CD-adapco 2 July 5, 2005 04:02
2D Regions Claudia CFX 2 December 25, 2002 10:09


All times are GMT -4. The time now is 05:44.