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

acousticDampingSource

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2020, 08:22
Default acousticDampingSource
  #1
Member
 
niewiemnic
Join Date: Jan 2018
Location: Niemcy
Posts: 80
Rep Power: 8
spalartallmaras is on a distinguished road
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;
}
spalartallmaras is offline   Reply With Quote

Old   April 18, 2020, 08:41
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
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.
HPE 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



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