CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

libfieldfunctionobj.so & chtMultiRegionFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 13, 2012, 09:44
Default libfieldfunctionobj.so & chtMultiRegionFoam
  #1
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 152
Rep Power: 6
Aurelien Thinat is on a distinguished road
Hi everyone,

I am used to the libfieldFunctionObjects tool in order to follow the variations of variables during the run time :
In the controlDict :
Quote:
functions
{
example
{
type faceSource;
functionObjectLibs ("libfieldFunctionObjects.so");
(...)
operation sum;
fields
(
...
);
}
}
It's working well with different solvers as simpleFoam / rhoSimpleFoam (...). But now I'm trying to use this tool with the chtMultiRegion-(Simple)-Foam and it's not working very well : I have this error message :
Quote:
--< FOAM FATAL ERROR:

request for objectRegistry region0 from objectRegistry Test-case failed
available objects of type objectRegistry are
2
(
Fluid
Solid
)
EDIT : After a look in the source code (faceSource.C), it seems it doesn't look up for the name of the domain. Does anyone have any idea how to modify the source code to make this tool available with chtMultiRegionSimpleFoam solver ?
Aurelien Thinat is offline   Reply With Quote

Old   March 13, 2012, 14:37
Default
  #2
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 152
Rep Power: 6
Aurelien Thinat is on a distinguished road
Ok I have found the answer. The source code is already able to deal with multi region solver. You just need to add the "region" keyword inside the controlDict.
Aurelien Thinat 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
Error in chtMultiRegionFoam kirankarki OpenFOAM 5 October 24, 2012 18:20
Multiregion Heat Transfer + natural convection (water) with chtMultiRegionFoam fattychickenrun OpenFOAM 5 October 31, 2011 18:53
Altering chtMultiRegionFoam jabecker OpenFOAM Running, Solving & CFD 0 June 30, 2011 10:58
chtmultiregionFoam alvora OpenFOAM 9 February 23, 2011 04:06
chtMultiRegionFoam......Help please.... devesh.baghel OpenFOAM 8 April 7, 2010 16:17


All times are GMT -4. The time now is 04:41.