Skip to content
Snippets Groups Projects
Commit 4696a96f authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: option consistency for acousticDampingSource

- accept origin or centre, as per other geometric entities
parent e7615709
Branches
Tags
No related merge requests found
......@@ -189,7 +189,7 @@ bool Foam::fv::acousticDampingSource::read(const dictionary& dict)
coeffs_.readEntry("frequency", frequency_.value());
coeffs_.readEntry("URef", URefName_);
coeffs_.readEntry("centre", x0_);
coeffs_.readCompat<vector>("origin", {{"centre", -1806}}, x0_);
coeffs_.readEntry("radius1", r1_);
coeffs_.readEntry("radius2", r2_);
......
......@@ -36,6 +36,14 @@ Description
\verbatim
acousticDampingSourceCoeffs
{
timeStart 0.004;
duration 1000.0;
selectionMode all;
origin (-1.25 0 0);
radius1 1.2;
radius2 1.65;
frequency 3000;
URef UMean;
}
\endverbatim
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment