Commit Graph

4878 Commits

Author SHA1 Message Date
bfedfcde55 dynamicMesh::sixDoFMotion: Generalised replacement for tabulated6DoFMotion
using Function1 and supporting all the standard Function1s including tabulated
and coded.

tutorials/multiphase/interFoam/laminar/sloshingTank3D6DoF updated to use
sixDoFMotion.
2020-11-13 21:12:15 +00:00
0a3ad1b41c fvOption::sixDoFAccelerationSource: Documented the structure of the accelerations vector 2020-11-13 18:42:38 +00:00
215b3bb84c fvOptions::sixDoFAccelerationSource: General replacement for tabulatedAccelerationSource
using Function1 and supporting all the standard Function1s including tabulated
and coded.
2020-11-13 18:37:05 +00:00
df4e94d173 fvOptions::effectivenessHeatExchangerSource: Updated to use Function2 2020-11-13 16:38:26 +00:00
b2bf6f3733 fvOptions::function2HeatTransfer: Generalised replacement for tabulatedHeatTransfer using Function2 2020-11-13 16:37:43 +00:00
2c6e4320af radiationModels::absorptionEmissionModels: Moved interpolationLookUpTable into the absorptionEmissionModels namespace
The interpolationLookUpTable is highly specialised for absorptionEmissionModels
which did not need to be templated and is now located in the appropriate
directory and namespace.
2020-11-13 16:27:21 +00:00
28dcfb5adc interpolateXY: Removed, superseded by Function1s::Table 2020-11-13 16:22:42 +00:00
e3d6c695c7 displacementInterpolationMotionSolver: Superseded by better interpolating motion solvers 2020-11-13 16:21:36 +00:00
08c79def7d engineValve: Updated to use Function1s::Table 2020-11-13 16:20:34 +00:00
fbadc20773 nutUTabulatedWallFunctionFvPatchScalarField: Removed redundant code
The current rough wall functions cover most requirements and there is no clear
need to maintain nutUTabulatedWallFunctionFvPatchScalarField and associated
clutter.
2020-11-13 16:17:45 +00:00
922c172352 thermophysicalTransportModels::FickianEddyDiffusivity: Updated diffusivity coefficients to Function2
The specie and Soret diffusivity coefficients are now functions of pressure and
temperature utilising the new run-time selectable Function2.
2020-11-12 18:10:30 +00:00
2cd197a536 Function2: New run-time selectable function of two variables
with many options provided from simple constant values to complex functions,
interpolated tabulated data etc. etc.
2020-11-12 18:07:42 +00:00
885fde7081 thermophysicalTransportModel: Updated handling of run-time re-reading
Add run-time re-reading of thermophysicalTransport dictionary after construction
to avoid problems if the dictionary is not present.
2020-11-12 10:20:19 +00:00
8e62369bc8 thermophysicalTransportModel: Instated and tested run-time re-reading of coefficients 2020-11-11 12:25:40 +00:00
2f4f358411 foamToVTK: Minor rationalisation to improve maintainability 2020-11-11 12:25:03 +00:00
93357284db vtk: Write VERTICES section in point-only files
This improves paraview's handling of VTK files which only contain
points. It means the points are visible without glyph-ing, and provides
the necessary input for some filters to operate correctly.
2020-11-11 11:21:51 +00:00
c5fc21c969 FickianEddyDiffusivity: Added support for diffusion coefficients D and DT as Function1 of T 2020-11-10 15:57:06 +00:00
7380da599c etc/codeTemplates: Corrected #ifndef/#define 2020-11-10 15:51:44 +00:00
e1e3d30f73 Typo correction. 2020-11-09 21:30:16 +00:00
21ab9958be Adding check for template material availability. 2020-11-09 17:20:22 +00:00
1bbbd40a0d Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 20201108 2020-11-06 19:29:34 +00:00
bbc00ccd2e OpenFOAM: Simplified the handling of global switches and constants
to improve robustness and maintainability.  Now all switches and constants are
set correctly on constructions without the need for dynamic update after the
system/controlDict is read.  This significantly simplifies the code and make it
much easier to add new switches, constants and settings without the need to
ensure they are registered to a database for update.
2020-11-06 19:25:49 +00:00
402362edc3 multiphaseEulerFoam/.../sphericalHeatTransfer: Corrected conductivity
This is a model for heat transfer through the inside of a dispersed
phase. It should therefore use the dispersed phase conductivity.
2020-11-06 15:17:23 +00:00
e001cdd42b ThermophysicalTransportModels::FickianEddyDiffusivity: New multi-component thermophysical transport model
Description
    Multi-component Fickian and eddy-diffusivity turbulent based temperature
    gradient heat flux model for RAS or LES of turbulent flow with optional
    Soret thermal diffusion of species.

    Currently the diffusion coefficients are constant but temperature and
    pressure dependency will be added.

    The heat flux source is implemented as an implicit energy correction to the
    temperature gradient based flux source.  At convergence the energy
    correction is 0.

Usage
    \verbatim
    RAS
    {
        model           FickianEddyDiffusivity;
        Prt             0.85;
        Sct             0.7;
        D               (1e-5 2e-5 1e-5); // [m^2/s]
        DT              (1e-5 2e-5 1e-5); // [kg/m/s] Optional
    }
    \endverbatim
2020-11-06 12:19:06 +00:00
9f25bc0adc Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2020-11-05 15:31:21 +00:00
d231c7e619 basicSpecieMixture: Added index(const volScalarField& Yi) member function
which returns the index of the specie corresponding to the give mass-fraction
field.
2020-11-05 15:30:05 +00:00
6364ef08e2 LangmuirHinshelwoodReactionRate: Updated order of 'm' coefficent array
for consistency with fluxLimitedLangmuirHinshelwoodReactionRate,
now the exponent is the first coefficient in the 'm' array.
2020-11-05 15:27:58 +00:00
e2b3598d38 tests: Updated to dictionary slash syntax 2020-11-04 10:51:43 +00:00
900eb1cf8c lagrangian/.../LiquidEvaporation: Corrected surface vapour concentration
Resolves bug report https://bugs.openfoam.org/view.php?id=3480
2020-11-04 08:56:48 +00:00
15103380d0 TimeIO: Corrected reading of dimensionedConstants 2020-11-03 09:40:11 +00:00
ce5ab981e8 OpenFOAM: Rationalised the update of registered switches and constants
Moved the switch and constant reading functionality from TimeIO to more rational
locations.

Added registration of InfoSwitches which are not run-time controlled by other
means.
2020-11-02 17:22:23 +00:00
a121baf047 OpenFOAM::dimensionedConstants: Updated handling of constant specification in system/controlDict
Resolves bug-report https://bugs.openfoam.org/view.php?id=3584
2020-11-02 09:26:04 +00:00
1ab7e2814b multiphaseEulerFoam: Named pPrime and kineticTheory viscosity fields 2020-10-30 13:49:16 +00:00
0392bcdfc7 IOobject: Corrected model-name ordering in modelName function 2020-10-30 13:49:16 +00:00
bf10406cf7 Corrected file formatting 2020-10-30 12:38:15 +00:00
d8aa79ed55 combustionModel, sootModel: Simplified selectors 2020-10-30 11:13:24 +00:00
8b76dbf712 combustionModels: Removed templating on the ThermoType
combustionModels now use the virtual functions provided by SpecieMixture to
avoid the complexity in code and compilation of templating on the ThermoType.
Additionally the models based on singleStepCombustion now use the concrete
reaction base class to avoid the templating on ThermoType introduced by the
Reaction type.
2020-10-30 08:38:58 +00:00
ba9312a26b ThermophysicalTransportModels: Updated documentation for j() 2020-10-30 08:38:27 +00:00
e8fba9844a thermophysicalModels::reaction: New concrete base class for Reaction
to provide reaction specie coefficients without the need for a thermodynamics
model.
2020-10-29 22:21:58 +00:00
ab12f38c2a ThermophysicalTransportModels: Corrected the documentation of the units of the q() function
heSolidThermo: Changed the q() function to return an intensive flux consistent
with ThermophysicalTransportModels.
2020-10-29 20:51:32 +00:00
aa4cb44b1e streamLines: Write out the streamline age
The streamLines function object now writes out "age" by default. This is
calculated as the total integration time from the starting point of the
streamline. This value can be negative if tracking is performed in the
reverse direction. Writing "age" can be deactivated by means of a
"writeAge no;" entry in the function object specification.
2020-10-28 08:39:00 +00:00
4cd71d9d0d tutorials/compressible/rhoCentralFoam/biconic25-55Run35: Removed temporary changes 2020-10-27 20:42:02 +00:00
f7848e62a1 functionObjects: Emit warning messages only for field names which do not exist for any type
Resolves bug-report https://bugs.openfoam.org/view.php?id=3583
2020-10-27 20:03:19 +00:00
efbf198022 test/multiphase/multiphaseEulerFoam: Removed tests for mass-fraction scaling 2020-10-27 18:20:28 +00:00
9b2f938586 functionObjects::wallHeatFlux: Corrected dimensions
The wallHeatFlux field is now intensive with units [W/m^2]
and the minimum, maximum, patch integrated Q [W] and patch average q [W-m^2]
are written in postProcessing/wallHeatFlux/<time>/wallHeatFlux.dat
2020-10-27 14:01:57 +00:00
e2b5be42c3 ThermophysicalTransportModels: Added units to the documentation of the q and j functions 2020-10-27 11:29:39 +00:00
095054d82e applications/solvers/combustion: Moved the inertSpecie functionality into basicSpecieMixture
and renamed defaultSpecie as its mass fraction is derived from the sum of the
mass fractions of all other species and it need not be inert but must be present
everywhere, e.g. N2 in air/fuel combustion which can be involved in the
production of NOx.

The previous name inertSpecie in thermophysicalProperties is supported for
backward compatibility.
2020-10-26 20:57:01 +00:00
5e3c5a9698 tutorials/combustion/reactingFoam: Removed redundant entries
Resolves bug report https://bugs.openfoam.org/view.php?id=3582
2020-10-25 18:14:44 +00:00
a50ded5b9a MomentumTransportModels::mixtureKEpsilon: Reverted change to Gd and Gc 2020-10-22 15:46:38 +01:00
b4e411b897 Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2020-10-22 12:40:43 +01:00