mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
62 lines
1.8 KiB
C++
62 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2412 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvOptions;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
scalarSource1
|
|
{
|
|
type scalarSemiImplicitSource;
|
|
|
|
volumeMode absolute;
|
|
|
|
selectionMode geometric;
|
|
selection
|
|
{
|
|
cylinder
|
|
{
|
|
action use;
|
|
source cylinder;
|
|
|
|
point1 (0.05 0.03 -1); // beg point on cylinder axis
|
|
point2 (0.05 0.03 1); // end point on cylinder axis
|
|
radius 0.003;
|
|
|
|
solidBodyMotionFunction oscillatingLinearMotion;
|
|
oscillatingLinearMotionCoeffs
|
|
{
|
|
// coefficients
|
|
amplitude (0 0.02 0);
|
|
omega 0.628318530718; // rad/s
|
|
}
|
|
|
|
/*
|
|
solidBodyMotionFunction tabulated6DoFMotion;
|
|
tabulated6DoFMotionCoeffs
|
|
{
|
|
// coefficients
|
|
timeDataFileName "<constant>/meshMotion.dat";
|
|
CofG (0 0 0);
|
|
}
|
|
*/
|
|
}
|
|
}
|
|
|
|
sources
|
|
{
|
|
T (1e-4 0);
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|