|
[Sponsors] |
January 28, 2019, 06:39 |
topoSet/setSet and fvOptions
|
#1 |
New Member
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Hello everyone,
I have a problem with chtMultiRegionFoam regarding the fvOptions file. I would like to impose a heat volumetric generation in PART of a region. (When I use the cellZone mode in fvOptions selecting one entire region, the code runs well.) The problem starts when I try to use cellSet mode and select a cellSet that I generate in topoSetDict: - if I put the topoSet file in "system" folder, it creates a "sets" folder in a "polymesh" folder OUTSIDE the regions folders and not inside a "polymesh" folder of a particular region (where the heat source should be); this causes that openfoam doesn't find the cellSet because the fvOptions file is inside the folder of the region where the Eeqn should take the source from. - if I put the fvOptions file outside the regions folders in "constant", then openfoam finally finds the cellSet, but the heat source is completely absent in the simulation, as fvOptions is not associated to any Eeqn. does anybody know a solution? I also tried setSet but still there's no heat generation. thanks to anybody who's willing to answer |
|
January 28, 2019, 08:09 |
|
#2 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Hi!
Maybe I don't uderstand your problem perfectly, but try to put the topoSetDict into the system/regionName and use the utility as "topoSet -region regionName", and put the fvOptions file into the system/regionName folder. Of course you have to change the 'regionName' |
|
January 28, 2019, 08:28 |
|
#3 | |
New Member
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Quote:
thank you for your interest, from your answer I can understand that you understood my problem despite of my bad explanation. Indeed I actually tried what you propose but it didn't work unfortunately: it still doesn't create the "sets" folder inside the region's "polymesh" folder. So fvOptions doesn't find the cellSet. Any other idea? thanks |
||
January 28, 2019, 08:42 |
|
#4 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
Check this tutorial! It is in OF +1806, maybe also in OF v6, I'm not sure:
tutorials/heatTransfer/chtMultiRegionFoam/reverseBurner/ there is a region called gas, with an implicitheatSource on a cellSet. And sorry, I think i was wrong. Solid needs the fvOptions file in the system folder (at least i put there always and working without problem), and for the fluid in the constant based on this tutorial. |
|
January 30, 2019, 08:57 |
|
#5 | |
New Member
Join Date: Jun 2015
Posts: 16
Rep Power: 11 |
Quote:
thanks |
||
April 30, 2019, 06:41 |
|
#6 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
Hello,
I am having the same problem, where did you use this "mv" command to move the sets directory to the /constant/regionFolder? Because the sets directory is generated when we run our case "./Allrun" Thank you |
|
Tags |
fvoptions, setset, toposetdict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I use fvOptions to couple a solid region and a fluid region? | titanchao | OpenFOAM Running, Solving & CFD | 4 | January 14, 2022 08:55 |
fvMatrix, fvOptions and SuSp: automatic implicit/explicit source-term treatment | Zeppo | OpenFOAM Programming & Development | 7 | December 15, 2021 11:20 |
New output variable for source term in fvoptions - without changing the solver | vincent.clary | OpenFOAM Programming & Development | 2 | June 26, 2018 06:21 |
problem with fvOptions in twophase eulerfoam | Hamzeh_Mirab | OpenFOAM Running, Solving & CFD | 0 | January 27, 2015 12:04 |
[swak4Foam] Setting BC for a passive scalar (groovy vs fvOptions) | Tobi | OpenFOAM Community Contributions | 0 | May 23, 2013 15:53 |