====== Convection (Metafor < v3593) ======
This documentation refers to Metafor version < v3593
for a Metafor version > 3593, please refers to this [[convection|page]].
===== Materials=====
Since pressure/shear interactions are boundary conditions interactions (''LoadingInteraction''), no materials must be associated to the element.
===== Element =====
Therefore, the first step consist in defining an ''[[doc:user:elements:general:def_element_properties|ElementProperties]]'', as
prp = ElementProperties(typeEl)
prp.put(param1, value1)
prp.depend(param1, fct1, Lock1)) #optional
...
where
|''typeEl'' | desired element (for example ''Tm[2]Convection[2|3]DElement'')|
|''param1''| name of the property associated to the element (for example ''CONV_COEF''|
|''value1''| value of the corresponding property |
|''fct1''| function which characterizes the dependency of the property (optional: no fct if no dependency) |
|''Lock1''| [[doc:user:general:locks|Lock]] which defines the dependency variable of the property (compulsory if there is a dependency) |
==== Tm[2]Convection[2|3]DElement ====
Convection element in 2/3D, first or second order (thermal field of second order)
TO DO : Ajouter équations de convection
=== Parameters ===
^ Name ^ Description ^ Dependency ^
| ''STIFFMETHOD'' | Method used to compute the stiffness matrix\\= ''STIFF_ANALYTIC'' : analytic matrix (default)\\ = ''STIFF_NUMERIC'' : numerical matrix | - |
| ''CONV_COEF'' | Thermal convection | time |
| ''TEMP_FLUIDE'' | Temperature of the fluid | time |
| ''NPG'' | Number of integration points (default : tm : 2 / tm2 : 3) | - |
===== Interaction =====
The interaction is defined as:
load = LoadingInteraction(no)
load.push(gObject1)
load.push(gObject2)
...
load.addProperty(prp)
interactionset.add(load)
where
| ''no'' | number of the ''Interaction'' |
| ''gObject1'', ''gObject2'' | mesh geometric entity where the boundary conditions are applied |
| ''prp'' | [[doc:user:elements:general:def_element_properties|Properties]] of [[#Element|boundary condition elements]] to generate |