|
[Sponsors] |
April 18, 2020, 08:22 |
acousticDampingSource
|
#1 |
Member
niewiemnic
Join Date: Jan 2018
Location: Niemcy
Posts: 80
Rep Power: 8 |
Hello,
1. does anybody know how selectionMode with cellZone work? with this fvOptions there is always same error message: [0] --> FOAM FATAL ERROR: [0] Cannot find cellZone selectedCells Valid cellZones are 0() 2. or are there another selectionMode, except of "all;"? -> I saw a tutorial used selectionMode all; but I think it does not make any sense, cuz all of cells are damped. https://develop.openfoam.com/Develop...stem/fvOptions 3. what does duration 1000; mean? Code:
acousticDampingSource { type acousticDampingSource; active yes; timeStart 0.15001; duration 1000.0; selectionMode cellZone; cellZone selectedCells; centre (0 0.04 0); radius1 2.0; radius2 4.0; frequency 3000; //1e+07; //w 3; URef UMean; } |
|
April 18, 2020, 08:41 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12 |
1. you need to create a cellZone first by using topoSet.
2. options are, afaik: all, cellZone, cellSet (at the moment, you need to specify `selectionMode all` if you wanna use `all` mode, as `selectionMode` is a mandatory entry - but may be in the future, it can become an optional entry, don't know). 3. duration = until what time you want function object being executed. e.g. if your simulation endTime=100, and duration=50, the execution of this FO will cease after 50, but your simulation will keep going.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|