|
[Sponsors] |
July 15, 2020, 20:04 |
chtmultiregion
|
#1 |
Member
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7 |
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 |
|
November 9, 2020, 04:57 |
|
#2 | |
New Member
wanghongjie
Join Date: Apr 2020
Posts: 28
Rep Power: 6 |
Quote:
|
||
November 9, 2020, 05:46 |
|
#3 |
Member
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7 |
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 |
|
November 11, 2020, 12:42 |
|
#4 | |
Senior Member
Charles
Join Date: Aug 2016
Location: Vancouver, Canada
Posts: 151
Rep Power: 10 |
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:
__________________
Charles L. |
||
|
|
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 |