CEPS
|
According to current files options a new way is introduced here to add some definitions of scalar constants, functions and other objects to be used as source terms, boundary conditions or physical coefficients. For the moment, the way to define some objects in the input file is quite simple and follows the following standard definition policy :
Adding objects to the dictionary follows the same policy, that is to say a standardized policy using keywords and a lazy syntax for options under the main keyword DEFINE
. In addition, extra rules are available here and follows the following general syntax
where the symbol [...]
means that this argument is an option in some cases.
A few field types are avalaible for the moment:
FIELD | string tag | Explanation |
---|---|---|
CONSTANT | CONSTANT | Hold a real constant |
FUNCTION | FUNCTION | Hold a function, see below for more options |
PIECEWISE | PIECEWISE | Define a piecewise scalar field |
OPERATOR | OPERATOR | Define an operator between two objects or two constants |
[ALIAS] | nothing | Not necessary but means that you attribute an alias for an internal already set object |
Functions can be defined in different ways relative to the desired type. For now, three different types are avalaible and each type can be mixed with others
For time and space functions you can use a predefined profile, known under the name of bell-type :
Type of bell | string TAG | Explanation |
---|---|---|
CONST | CONSTANT, CONST | constant bell |
C4 | C4, D4, 4 | C4 bell |
C5 | C5, D5, 5 | C5 bell |
CINF | CINF, DINF, I | Cinf bell |
GAUSSIAN | GAUSSIAN, GAUSS, G | gaussian bell |
HEAVISIDE | HEAVISIDE, HEAVY, H | heaviside bell |
RECTANGLE | RECTANGLE, REC, R | rectangle bell |
Create an time function (aka ) is very simple with this syntax. All parameters are optional.
with default values
In addition you can, here again, define your excitation time function by internal tag like
If you want to create a space function, an activation function with a space bell, you can in addition create a spatial bell function (the name here is generic for centralized spatial function) like
with default values
In addition you can, here again, define your spatial function by internal tag like
For now, you can only used predefined solution function (internal tag) like
Add a source term from its definition in the dictionary is quite simple and you can add some extra options. You can set the source term type like : DEFAULT, KTERM, IAPP
by default no restriction are enabled, the scale is 1.0 and TYPE is DEFAULT
, component default is 0.
In the same way, you can set any boundary condition with some extra options
with the same default value for scale factor (1.0) and no restriction, component default is 0 and the searching mesh dimension is the higher presented mesh by default.
The options for BC_TYPE
are DIRICHLET
, NEUMANN
and ROBIN
.
A special consideration is made for DIRICHLET
boundary conditions : if the VOLUMIC
keyword is present so we are searching node with attribute ATTRIBUTE
inside the domain. In other cases, (NEUMANN
or ROBIN
) this keyword has no effect and we considere only boundary nodes/elements.