unv2oofem:unv2oofem
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
unv2oofem:unv2oofem [2017/02/01 17:36] – [Extension for sets] smilauer | unv2oofem:unv2oofem [2017/10/16 13:13] – smilauer | ||
---|---|---|---|
Line 26: | Line 26: | ||
|Quad: 8 nodes, quadratic | 45| QPlanestress2D, | |Quad: 8 nodes, quadratic | 45| QPlanestress2D, | ||
|Tetrahedron: | |Tetrahedron: | ||
- | |Brick: 8 node, linear|115| LSpace, LSpaceBB, Brick1HT, | + | |Brick: 8 node, linear|115| LSpace, LSpaceBB, Brick1HT, |
|Brick: 20 nodes, quadratic|116| QSpace, QBrick1ht, QBrick1hmt | | |Brick: 20 nodes, quadratic|116| QSpace, QBrick1ht, QBrick1hmt | | ||
|Tetrahedron: | |Tetrahedron: | ||
Line 45: | Line 45: | ||
==== Creating control file ==== | ==== Creating control file ==== | ||
- | We need to define information about materials, tractions and boundary conditions. {{: | + | We need to define information about materials, tractions and boundary conditions. {{: |
<code text> | <code text> | ||
exam.out | exam.out | ||
Line 93: | Line 93: | ||
==== Extension for sets ==== | ==== Extension for sets ==== | ||
Boundary conditions and material assignments can be handled via sets. Salome needs to define groups on which those sets will operate. | Boundary conditions and material assignments can be handled via sets. Salome needs to define groups on which those sets will operate. | ||
+ | {{: | ||
+ | <code text> | ||
+ | exam-sets.out | ||
+ | This example shows how to convert unv file to OOFEM input file. It will use sets. | ||
+ | linearstatic nsteps 1 nmodules 1 | ||
+ | vtkxml tstep_all domain_all primvars 1 1 vars 2 4 1 stype 1 | ||
+ | domain 2dplanestress | ||
+ | OutputManager tstep_all dofman_all element_all | ||
+ | ncrosssect 2 nmat 2 nbc 2 nic 0 nltf 1 nset 4 | ||
+ | SimpleCS 1 thick 1.0 width 1.0 material 1 set 1 | ||
+ | SimpleCS 2 thick 1.0 width 1.0 material 2 set 2 | ||
+ | isole 1 d 0.0 e 15.0 n 0.25 tAlpha 0.0 | ||
+ | isole 2 d 0.0 e 20.0 n 0.25 tAlpha 0.0 | ||
+ | BoundaryCondition 1 loadTimeFunction 1 dofs 2 1 2 values 2 0.0 0.0 set 3 | ||
+ | ConstantEdgeLoad 2 loadTimeFunction 1 dofs 2 1 2 components 2 10.0 0.0 loadType 3 set 4 | ||
+ | ConstantFunction 1 f(t) 1.0 | ||
+ | set 1 elements | ||
+ | set 2 elements | ||
+ | set 3 nodes | ||
+ | set 4 elementedges | ||
+ | #Comment may be inserted anywhere | ||
+ | #Data for extractor, if necessary | ||
+ | # | ||
+ | ## check reactions | ||
+ | #REACTION tStep 1 number 1 dof 1 | ||
+ | #NODE tStep 1 number 5 dof 1 unknown d | ||
+ | # | ||
+ | group load_edge | ||
+ | elemprop set 4 | ||
+ | etype[11] | ||
+ | |||
+ | group support_nodes | ||
+ | nodeprop set 3 | ||
+ | |||
+ | group material_1 | ||
+ | elemprop set 1 | ||
+ | etype[44] PlaneStress2d | ||
+ | |||
+ | group material_2 | ||
+ | elemprop set 2 | ||
+ | etype[44] PlaneStress2d | ||
+ | </ | ||
unv2oofem/unv2oofem.txt · Last modified: 2021/12/14 09:10 by smilauer