![]() |
The boundary conditions submodule of the utilities module is responsible for: 1. reading the block to group assigment from bc file(s) and providing access to the block-to-group mapping. .
The correct way of using the material database is as follows:
1.1. At program initialisation: Read the bc file(s) with mapping(s) at least once.
1.2. During computations: call utr_bc_get_blockID to access provided mappings.
2. Inserting boundary conditions into mesh at run-time . 'bo_to_insert' block is expected to be in any boundary conditions file. If there are given two ID's, then in mesh between them (with respect to their kind), a new boundary condition with number 'bcnum' will appear. This, however, generates a split in mesh, introducing a new 'contact' plane between selected ID's of given kind.
bc_to_insert: ( { bcnum = 2; concerns="block"; ID1 = 1; ID2 = 2; } );