Henry Weller
b6ac82315c
variableHeightFlowRateInletVelocityFvPatchVectorField: Changed the flow-rate to a Function1
...
to support time-variation
2016-02-10 09:46:37 +00:00
Henry Weller
7d69d552ff
turbulentInletFvPatchField: Minor update
2016-02-10 09:46:23 +00:00
Henry Weller
b3cbc3810d
translatingWallVelocityFvPatchVectorField: Changed the translation velocity to a Function1
...
to support time-variation
2016-02-10 09:44:55 +00:00
Henry Weller
ee705d7ae2
rotatingWallVelocityFvPatchVectorField: Minor update
2016-02-10 09:44:38 +00:00
Henry Weller
d8ff6d2093
flowRateInletVelocity: Minor update
2016-02-10 09:44:18 +00:00
Henry Weller
c0f9781a61
surfaceNormalFixedValueFvPatchVectorField: Corrected mapping constructor
2016-02-09 20:09:45 +00:00
Henry Weller
ab3081aa6b
noSlip: New wall boundary condition for velocity
...
noSlip is equivalent to fixedValue with a value of (0 0 0) but is
simpler to specify e.g.
upperWall
{
type noSlip;
}
2016-02-09 18:45:13 +00:00
Henry Weller
54b2d0b41c
movingWallVelocityFvPatchVectorField: Updated to obtain the velocity field from the dimensionedInteralField
...
rather than by "lookup" from the database.
2016-02-09 18:43:48 +00:00
Henry Weller
79a18f8b53
fvPatchFields: Added Function1Types to SeeAlso as appropriate
2016-02-09 15:42:13 +00:00
Henry Weller
e34b84ec1b
fixedMeanFvPatchField: Added support for time-varying mean-value
2016-02-09 12:24:18 +00:00
Henry Weller
798f13d81b
flowRateInletVelocityFvPatchVectorField: Minor updates
2016-02-09 12:24:04 +00:00
Henry Weller
20718552c0
oscillatingFixedValue BC replaced by uniformFixedValue with the new Function1Types::Sine
...
For example the sinusoidal motion of the floating object in the
potentialFreeSurfaceFoam/oscillatingBox tutorial is now specified thus
floatingObject
{
type fixedNormalInletOutletVelocity;
fixTangentialInflow false;
normalVelocity
{
type uniformFixedValue;
uniformValue sine;
uniformValueCoeffs
{
frequency 1;
amplitude table
(
( 0 0)
( 10 0.025)
(1000 0.025)
);
scale (0 1 0);
level (0 0 0);
}
}
value uniform (0 0 0);
}
rather than using
floatingObject
{
type fixedNormalInletOutletVelocity;
fixTangentialInflow false;
normalVelocity
{
type oscillatingFixedValue;
refValue uniform (0 1 0);
offset (0 -1 0);
amplitude table
(
( 0 0)
( 10 0.025)
(1000 0.025)
);
frequency constant 1;
}
value uniform (0 0 0);
}
2016-02-09 08:57:42 +00:00
Henry Weller
0b4643922a
Rename DataEntry -> Function1
...
Function1 is an abstract base-class of run-time selectable unary
functions which may be composed of other Function1's allowing the user
to specify complex functions of a single scalar variable, e.g. time.
The implementations need not be a simple or continuous functions;
interpolated tables and polynomials are also supported. In fact form of
mapping between a single scalar input and a single primitive type output
is supportable.
The primary application of Function1 is in time-varying boundary
conditions, it also used for other functions of time, e.g. injected mass
is spray simulations but is not limited to functions of time.
2016-02-08 16:18:07 +00:00
Henry Weller
23bcea0299
flowRateInletVelocity: Added option to extrapolate the velocity profile to the inlet
...
e.g.
inlet
{
type flowRateInletVelocity;
massFlowRate 0.2;
extrapolateProfile yes;
rho rho;
rhoInlet 1.0;
value uniform (0 0 0);
}
2016-02-07 22:55:52 +00:00
Henry Weller
2554dab02a
fixedNormalInletOutletVelocity: Minor reorganization
2016-02-07 22:51:01 +00:00
Henry Weller
a162a26de6
DataEntry: Created the DataEntryTypes namespace for all the concrete DataEntry types
...
to avoid name conflicts with these primitive names in the OpenFOAM namespace
2016-02-07 13:32:38 +00:00
Henry Weller
e647249666
pisoControl: Corrected handling of final inner (PISO) iteration control
2016-01-28 09:02:25 +00:00
Henry Weller
79f0c385ca
Info -> InfoInFunction and updated comments
2016-01-20 17:51:15 +00:00
Henry Weller
a23f79fa7e
Info -> InfoInFunction and updated comments
2016-01-20 16:21:37 +00:00
Henry Weller
2804f8748d
Make disallowed member functions private
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1977
2016-01-20 10:41:14 +00:00
Henry Weller
e029c7c1a3
Update headers
2016-01-11 13:02:52 +00:00
Henry Weller
a56ab5f863
Consistently indent continuation backslashes in macro definitions
2016-01-11 13:00:56 +00:00
Henry Weller
94c05a1e6c
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
Henry Weller
36f2d69888
Update code to use the simpler C++11 template syntax
2016-01-10 19:20:16 +00:00
Henry Weller
b28fc21a3e
Update headers
2016-01-10 12:50:32 +00:00
Henry Weller
c238fbd56d
Make private member functions private
...
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1969
2016-01-10 12:49:35 +00:00
Henry Weller
3dd784315b
Correct formatting: "forAll (" -> "forAll("
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1967
2016-01-09 23:10:16 +00:00
Henry Weller
3b1771b68a
Updated header
2016-01-07 11:45:13 +00:00
Henry Weller
06dc2078fc
laplacianScheme: make private member functions private
...
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1965
2016-01-07 11:44:14 +00:00
Henry Weller
9b29623c8b
externalCoupledMixedFvPatchField.H: Updated documentation
...
Patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1961
2016-01-02 21:40:49 +00:00
Henry Weller
ba960a4185
supersonicFreestreamFvPatchVectorField: Corrected documentation
2015-12-20 18:12:58 +00:00
Henry Weller
64fc1c11fc
fanFvPatchField: Minor reorganization
2015-12-20 18:12:35 +00:00
Henry Weller
ccc0c71df0
prghPressureFvPatchScalarField: Updated rho name specification
...
for consistency with prghPressureFvPatchScalarField
2015-12-17 12:23:29 +00:00
Henry Weller
ad529cf414
prghPressureFvPatchScalarField: Updated documentation
...
Corrected rho name specification.
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1956
2015-12-17 12:20:10 +00:00
Henry Weller
baa5a1df12
LimitFuncs: Update function specializations to satisfy gcc, clang and icpc
2015-12-09 22:37:43 +00:00
Henry Weller
c47adcc10d
src/finiteVolume/interpolation: Modified code to conform to OpenFOAM coding standards
...
declaring the namespace in function definitions in C files
2015-12-09 22:23:38 +00:00
Henry Weller
649c58423a
reactingMultiphaseEulerFoam: Correct and test LTS support
2015-12-09 15:39:45 +00:00
Henry Weller
efa28279b8
fvPatchFields, fvsPatchFields, pointPatchFields: specifically declare namespace of functions
...
It is better to declare the namespace of each function in the C file
rather than "open" the namespace as this may lead to inconsistencies
between the declaration in the H files and definition in the C file.
2015-12-08 22:29:05 +00:00
Henry Weller
3e6f38f1a8
uniformInletOutletFvPatchField: Update refValue in updateCoeffs
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1943
2015-12-08 14:24:12 +00:00
Henry Weller
a2fbd855a6
fanFvPatchField, freestreamPressureFvPatchScalarField: added write function
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1942
2015-12-08 11:57:37 +00:00
Henry Weller
2d08d8dc82
fvcAverage: Removed temporary Info statement
2015-12-07 22:38:33 +00:00
Henry Weller
9a536b02a7
fvOptions: Reorganized and updated to simplify use in sub-models and maintenance
...
fvOptions are transferred to the database on construction using
fv::options::New which returns a reference. The same function can be
use for construction and lookup so that fvOptions are now entirely
demand-driven.
The abstract base-classes for fvOptions now reside in the finiteVolume
library simplifying compilation and linkage. The concrete
implementations of fvOptions are still in the single monolithic
fvOptions library but in the future this will be separated into smaller
libraries based on application area which may be linked at run-time in
the same manner as functionObjects.
2015-12-02 11:49:52 +00:00
Henry Weller
528cc5622b
fvPatchFields/derived/fixedProfile: New BC which applies the specified 1D profile
...
This is useful when applying an experimentally obtained profile as an
inlet condition:
Example of the boundary condition specification:
\verbatim
myPatch
{
type fixedProfile;
profile csvFile;
profileCoeffs
{
nHeaderLine 0; // Number of header lines
refColumn 0; // Reference column index
componentColumns (1 2 3); // Component column indices
separator ","; // Optional (defaults to ",")
mergeSeparators no; // Merge multiple separators
fileName "Uprofile.csv"; // name of csv data file
outOfBounds clamp; // Optional out-of-bounds handling
interpolationScheme linear; // Optional interpolation scheme
}
direction (0 1 0);
origin 0;
}
\endverbatim
or a simple polynomial profile:
Example setting a parabolic inlet profile for the PitzDaily case:
\verbatim
inlet
{
type fixedProfile;
profile polynomial
(
((1 0 0) (0 0 0))
((-6200 0 0) (2 0 0))
);
direction (0 1 0);
origin 0.0127;
}
\endverbatim
Based on code provided by Hassan Kassem:
http://www.openfoam.org/mantisbt/view.php?id=1922
2015-11-24 16:35:45 +00:00
Henry Weller
9168a4abf9
fvPatchFields: Rationalized the construction of DataEntry values
2015-11-24 16:35:11 +00:00
Henry Weller
151e1fafff
Update header
2015-11-22 17:28:37 +00:00
Henry Weller
d870ca5be5
Corrected typo: Tranform -> Transform
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1923
2015-11-22 17:27:44 +00:00
Henry Weller
6a80fbf792
advectiveFvPatchField: Added support localEuler ddt (LTS)
...
This functionality is inherited by the waveTransmissive BCs
2015-11-18 09:33:13 +00:00
Henry Weller
742f2da0fa
Updated header
2015-11-17 12:07:33 +00:00
Henry Weller
22fd0edd59
porosityModels: Specification of name and dimensions of porosity coefficients is now optional
...
e.g.
DarcyForchheimerCoeffs
{
d (5e7 -1000 -1000);
f (0 0 0);
coordinateSystem
{
type cartesian;
origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e2 (0 0 1);
}
}
}
2015-11-17 12:05:57 +00:00
Henry Weller
ef287b7640
steadyStateDdtScheme: Correct dimensions of fvcDdtUfCorr
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1913
2015-11-13 14:33:34 +00:00