mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: simpler mechanical or thermal use of solidProperties
- in some shell models, only the mechanical properties (rho,E,nu) are meaningful or just the basic thermal properties (rho,Cp,kappa,emissivity). Add a distinction when reading the dictionary entries if those properties are mandatory and the thermo properties (eg, molWt, Cp, etc) are optional or not. This simplifies user input for thermal and vibration shell models.
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2506 |
|
||||
| \\ / O peration | Version: v2512 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -29,22 +29,16 @@ boundaryField
|
||||
|
||||
window
|
||||
{
|
||||
type vibrationShell;
|
||||
active true;
|
||||
p pa;
|
||||
type vibrationShell;
|
||||
active true;
|
||||
p pa;
|
||||
|
||||
solid
|
||||
{
|
||||
W 20; //Not used
|
||||
rho 2500;
|
||||
|
||||
kappa 200;
|
||||
Cp 600;
|
||||
Hf 0;
|
||||
emissivity 0;
|
||||
|
||||
E 7e10;
|
||||
nu 0.22;
|
||||
// Mechanical properties
|
||||
rho 2500;
|
||||
E 7e10;
|
||||
nu 0.22;
|
||||
}
|
||||
|
||||
region vibrationShell;
|
||||
@ -55,7 +49,7 @@ boundaryField
|
||||
f2 0;
|
||||
|
||||
value $internalField;
|
||||
}
|
||||
}
|
||||
|
||||
wall
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2506 |
|
||||
| \\ / O peration | Version: v2512 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -34,11 +34,10 @@ boundaryField
|
||||
|
||||
thermo
|
||||
{
|
||||
W 50;
|
||||
// Thermal properties
|
||||
rho 1000;
|
||||
kappa 200;
|
||||
Cp 600;
|
||||
Hf 0;
|
||||
emissivity 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user