CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

problem with includeFunc residuals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2019, 01:41
Unhappy problem with includeFunc residuals
  #1
New Member
 
Srikar
Join Date: Sep 2019
Posts: 14
Rep Power: 7
srikarg is on a distinguished road
Hi,

I am using openfoam v5 and i was trying put the code:

functions
{ #includeFunc residuals} in the controldict file. i get the error:

--> FOAM FATAL ERROR:
[2]
request for objectRegistry region0 from objectRegistry single_channelprocessor2 failed
available objects of type objectRegistry are

2
(
fluid
sink
)

Can anyone tell me what to do?:
srikarg is offline   Reply With Quote

Old   September 24, 2019, 05:38
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


I assume you are using some multi region solver like chtMultiRegionFoam.
In this case you have to define the region name for the residuals function.
(I think you have a file called residuals in your system dir. Then just add a line: "region fluid", or sink if you need that one. Maybe it is regionName, I'm not sure 100%. Hard to follow any changes/versions )
simrego is offline   Reply With Quote

Old   September 24, 2019, 06:16
Talking Could you elaborate?
  #3
New Member
 
Srikar
Join Date: Sep 2019
Posts: 14
Rep Power: 7
srikarg is on a distinguished road
Quote:
Originally Posted by simrego View Post
Hi!


I assume you are using some multi region solver like chtMultiRegionFoam.
In this case you have to define the region name for the residuals function.
(I think you have a file called residuals in your system dir. Then just add a line: "region fluid", or sink if you need that one. Maybe it is regionName, I'm not sure 100%. Hard to follow any changes/versions )
Yes. fluid and sink here are region names. Could you elaborate where to add the lines?
srikarg is offline   Reply With Quote

Reply

Tags
chtmultiregionsimplefoam, openfoam, openfoam v5, residuals


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ho to justify that the problem is stiff in numerical study ALBATTROSS Main CFD Forum 0 July 11, 2019 18:08
Problem with energy residuals amin.z FLUENT 0 September 24, 2014 09:15
Problem with residuals, especially continuity Ozgur_ FLUENT 2 December 3, 2013 06:48
judging convergence through residuals MachZero Main CFD Forum 7 December 25, 2012 13:18
Convergence - scaled vs unscaled residuals HS FLUENT 1 November 7, 2005 06:45


All times are GMT -4. The time now is 11:24.