Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solidThermophysicalTransportModel: new thermophysical transport model…
… for solids to handle isotropic and anisotropic is a consistent, general and extensible manner, replacing the horrible hacks which were in solidThermo. This is entirely consistent with thermophysicalTransportModel for fluids and provides the q() and divq() for the solid energy conservation equations. The transport model and properties are specified in the optional thermophysicalTransport dictionary, the default model being isotropic if this dictionary file is not present, thus providing complete backward-compatibility for the common isotropic cases. Anisotropic thermal conductivity is now handled in a much more general manner by the anisotropic model: Class Foam::solidThermophysicalTransportModels::anisotropic Description Solid thermophysical transport model for anisotropic thermal conductivity The anisotropic thermal conductivity field is evaluated from the solid material anisotropic kappa specified in the physicalProperties dictionary transformed into the global coordinate system using default coordinate system and optionally additional coordinate systems specified per-zone in the thermophysicalProperties dictionary. Usage Example of the anisotropic thermal conductivity specification in thermophysicalProperties with two zone-based coordinate systems in addition to the default: \verbatim model anisotropic; // Default coordinate system coordinateSystem { type cartesian; origin (0 0 0); coordinateRotation { type cylindrical; e3 (1 0 0); } } // Optional zone coordinate systems zones { coil1 { type cartesian; origin (0.1 0.2 0.7); coordinateRotation { type cylindrical; e3 (0.5 0.866 0); } } coil2 { type cartesian; origin (0.4 0.5 1); coordinateRotation { type cylindrical; e3 (0.866 0.5 0); } } } \endverbatim This development required substantial rationalisation of solidThermo, coordinateSystems and updates to the solid solver module, solidDisplacementFoam, the wallHeatFlux functionObject, thermalBaffle and all coupled thermal boundary conditions.
- Loading branch information
Henry Weller
committed
Oct 19, 2022
1 parent
cc868b6
commit cdaaa61
Showing
80 changed files
with
1,576 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/ThermophysicalTransportModels/coupledThermophysicalTransportModels/Make/files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
externalTemperature/externalTemperatureFvPatchScalarField.C | ||
patchKappa/patchKappa.C | ||
coupledTemperature/coupledTemperatureFvPatchScalarField.C | ||
|
||
LIB = $(FOAM_LIBBIN)/libcoupledThermophysicalTransportModels |
19 changes: 19 additions & 0 deletions
19
src/ThermophysicalTransportModels/coupledThermophysicalTransportModels/Make/options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
EXE_INC = \ | ||
-I$(LIB_SRC)/ThermophysicalTransportModels/lnInclude \ | ||
-I$(LIB_SRC)/ThermophysicalTransportModels/solidThermophysicalTransportModels/lnInclude \ | ||
-I$(LIB_SRC)/MomentumTransportModels/momentumTransportModels/lnInclude \ | ||
-I$(LIB_SRC)/MomentumTransportModels/compressible/lnInclude \ | ||
-I$(LIB_SRC)/physicalProperties/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ | ||
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \ | ||
-I$(LIB_SRC)/finiteVolume/lnInclude \ | ||
-I$(LIB_SRC)/meshTools/lnInclude \ | ||
|
||
LIB_LIBS = \ | ||
-lfluidThermophysicalModels \ | ||
-lsolidThermo \ | ||
-lthermophysicalTransportModels \ | ||
-lmomentumTransportModels \ | ||
-lsolidThermophysicalTransportModels \ | ||
-lfiniteVolume \ | ||
-lmeshTools |
Oops, something went wrong.