__DEFAULT_configuration_file__
allows to provide Ucv_DEFAULT.dat as a generalistic/default definition
The default file allows to define default setting for groups/portions of geometry-items, fulfilling a naming convention.
With this,
MESHFREE is ready to only be provided a geometry file, and start a simulation without any further input definition.
The default definition file has a unique name: "Ucv_DEFAULT.dat". The general rules to bind it in are:
-
- if, in the current project folder, there is a file with the name "Ucv_DEFAULT.dat", then this file is read-in first, before USER_common_variables.dat is read in
- if the environment variable MESHFREE_USE_DEFAULT_FILE=true, the program will use the Ucv_DEFAULT.dat . In this case,
-
- EITHER the environment variable MESHFREE_UCV_DEFAULT is set, then it points to the Ucv_DEFAULT-file to be used (i.e. the users have the chance to use their general default configuration,
- OR the program will automatically generate a Ucv_DEFAULT.dat in the hope, it will cover the needs of the current application.
In Ucv_DEFAULT.dat, one is free to pre-define anything. Most useful it is to define the "_DEFAULT" alias names.
The definition of an alias with the suffix "_DEFAULT" is a recognized as a default definition for a certain group of geometry. For example:
begin_alias{}
"wall_DEFAULT" = " BC$BC_wall_DEFAULT$ ACTIVE$InitAlways_DEAFULT$ IDENT%IDENT_slip% MAT&mat1_DEFAULT& TOUCH%TOUCH_always% MOVE$MOVE_DEFAULT$ LAYER0 CHAMBER1 "
"bot*_DEFAULT" = " &wall_DEFAULT& "
"in*_DEFAULT" = " BC$BC_in_DEFAULT$ ACTIVE$InitAlways_DEAFULT$ IDENT%IDENT_outflow% MAT&mat1_DEFAULT& TOUCH%TOUCH_always% MOVE$MOVE_DEFAULT$ LAYER0 CHAMBER1 POSTPROCESS$PP_in_DEFAULT$ "
"out*_DEFAULT" = " BC$BC_out_DEFAULT$ ACTIVE$InitAlways_DEAFULT$ IDENT%IDENT_outflow% MAT&mat1_DEFAULT& TOUCH%TOUCH_always% MOVE$MOVE_DEFAULT$ LAYER0 CHAMBER1 POSTPROCESS$PP_out_DEFAULT$ "
"top*_DEFAULT" = " &wall_DEFAULT& "
"front*_DEFAULT" = " &wall_DEFAULT& "
"back*_DEFAULT" = " &wall_DEFAULT& "
end_alias
For example, the alias-definition "in*_DEFAULT" matches for all geometry items, starting with "in", such as "inflow"
Please also refer to
AliasForGeometryItems .
See the comprehensive example and have a special look into Ucv_DEFAULT.dat .
See the classical USER_common_variables.dat, where the user only has to provide the geometry file. If the Ucv_DEFAULT is general enough, no additional information is given and the simulation can be started immediately.