mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Integrated Foundation code to commit 104aac5
This commit is contained in:
@ -18,19 +18,15 @@ FoamFile
|
||||
momentumSource
|
||||
{
|
||||
type vectorSemiImplicitSource;
|
||||
active yes;
|
||||
|
||||
vectorSemiImplicitSourceCoeffs
|
||||
timeStart 0.0;
|
||||
duration 1000;
|
||||
selectionMode all;
|
||||
|
||||
volumeMode specific;
|
||||
injectionRateSuSp
|
||||
{
|
||||
timeStart 0.0;
|
||||
duration 1000;
|
||||
selectionMode all;
|
||||
|
||||
volumeMode specific;
|
||||
injectionRateSuSp
|
||||
{
|
||||
U ((5 0 0) 0);
|
||||
}
|
||||
U ((5 0 0) 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -50,13 +50,7 @@ IOdictionary fvOptions
|
||||
)
|
||||
);
|
||||
const dictionary& gradPDict =
|
||||
fvOptions.subDict("momentumSource").subDict
|
||||
(
|
||||
"vectorSemiImplicitSourceCoeffs"
|
||||
).subDict
|
||||
(
|
||||
"injectionRateSuSp"
|
||||
);
|
||||
fvOptions.subDict("momentumSource").subDict("injectionRateSuSp");
|
||||
const scalar K =
|
||||
Tuple2<vector, scalar>(gradPDict.lookup("U")).first().x();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user