CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

chtmultiregion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2020, 20:04
Default chtmultiregion
  #1
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7
saj216 is on a distinguished road
Hi guys,

I am trying to adapt the chtmultiregionfoam solver. However, I need to keep the fluid part as a single region (i.e without the multiregion aspect [i]). Does anyone have any pointers regarding using pimpleControl pimple(mesh); instead of using pimpleMultiRegionControl pimples(fluidRegions, solidRegions;.

As I currently keep getting the error

./solid/createSolidFields.H:2:39: error: ‘solidRegions’ was not declared in this scope.

Thanks
saj216 is offline   Reply With Quote

Old   November 9, 2020, 04:57
Default
  #2
New Member
 
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6
wanghongjie is on a distinguished road
Quote:
Originally Posted by saj216 View Post
Hi guys,

I am trying to adapt the chtmultiregionfoam solver. However, I need to keep the fluid part as a single region (i.e without the multiregion aspect [i]). Does anyone have any pointers regarding using pimpleControl pimple(mesh); instead of using pimpleMultiRegionControl pimples(fluidRegions, solidRegions;.

As I currently keep getting the error

./solid/createSolidFields.H:2:39: error: ‘solidRegions’ was not declared in this scope.

Thanks
Can you have a solution? I have the same question, maybe you can help me.
wanghongjie is offline   Reply With Quote

Old   November 9, 2020, 05:46
Default
  #3
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7
saj216 is on a distinguished road
Hi wanghongjie,

I used the presentation in this link https://github.com/unicfdlab/Trainin...F4.1/materials to remove the multi-region aspect on the fluid region side for it to work properly. I implemented mine in openfoam 7.0 so it required some debugging too. The github itself has a lot of information with a step by step guide on how to achieve it which is explained in the presentation.

Hopefully it can help you too.

Kind regards,

Sam
saj216 is offline   Reply With Quote

Old   November 11, 2020, 12:42
Default
  #4
Senior Member
 
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10
Marpole is on a distinguished road
If you only want to simulate fluid without the multi-region aspect, you can use solver pimpleFoam. Otherwise, if you still want to keep solver chtmultiregionfoam, you don't have to change the code, but to change file regionProperties in folder "constant". In the file, you leave solid blank (see example below).

Code:
regions
(
    fluid       (air)
    solid       ()
 );
Quote:
Originally Posted by saj216 View Post
Hi guys,

I am trying to adapt the chtmultiregionfoam solver. However, I need to keep the fluid part as a single region (i.e without the multiregion aspect [i]). Does anyone have any pointers regarding using pimpleControl pimple(mesh); instead of using pimpleMultiRegionControl pimples(fluidRegions, solidRegions;.

As I currently keep getting the error

./solid/createSolidFields.H:2:39: error: ‘solidRegions’ was not declared in this scope.

Thanks
__________________
Charles L.
Marpole is offline   Reply With Quote

Reply


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
chtMultiRegion + Adaptive Mesh Refinement Dostoyefsky OpenFOAM Programming & Development 2 February 21, 2022 03:16
Need help setting up chtMultiRegion OskarT OpenFOAM Pre-Processing 1 September 25, 2019 16:51
ChtMultiRegion changeDirectory julieng OpenFOAM Pre-Processing 12 February 11, 2019 18:56
WallHeatFlux and chtMultiregion m_f OpenFOAM Post-Processing 13 March 16, 2015 11:16
Mass transfer and chtmultiregion Bufacchi OpenFOAM Programming & Development 0 August 2, 2010 21:28


All times are GMT -4. The time now is 09:48.