How to Export Complex 3D Meshes from Midas GTS NX to ...

79
Dr. Javier Moreno Robles Civil Engineer Geotechnical Laboratory. CEDEX. Spain Professor U.P.M. How to Export Complex 3D Meshes from Midas GTS NX to Flac3D

Transcript of How to Export Complex 3D Meshes from Midas GTS NX to ...

Dr. Javier Moreno RoblesCivil Engineer

Geotechnical Laboratory. CEDEX. Spain

Professor U.P.M.

How to Export Complex 3D Meshes from Midas GTS NX to Flac3D

01. Learning Objective

02. Differences between Midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the import file ( impgrid)

04. Description of the FISH subroutine

05. Application example nº1: Stress-Deformational

06. Application example nº2: Seepage

07. Conclusions

Content

01. Learning Objective

02. Differences between Midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the import file ( impgrid)

04. Description of the FISH subroutine

05. Application example nº1: Stress-Deformational

06. Application example nº2: Seepage

07. Conclusions

Content

Learning Objective

1-5

01. Learning Objective

Key Points:

- Importing the volumetric meshes generated in midas GTS NX to Flac3D.

- Review of the conceptual differences in FEM and FDM.

- Breakdown of the subroutine of FISH mesh importing.

- Two application examples of the subroutine generated meshes to show compatibility.

- The most notable results obtained in both software will be compared.

This will not be a comparison of which software is better, as both software are prestigious.

Learning Objective:

The goal is to show the 1:1 comparison between the notable results between midas GTS NX and Flac3D on two project applications.

01. Learning Objective

02. Differences between midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the import file ( impgrid)

04. Description of the FISH subroutine

05. Application example nº1: Stress-Deformational

06. Application example nº2: Seepage

07. Conclusions

Content

Differences between

Midas GTS NX (FEM)

and Flac3D (FDM)

1-8

02. Differences between Midas GTS NX(FEM) and Flac3D(FDM)

Flac3D is a numerical code thatis formulated under the FiniteDifference Model method.

• No need to assemble stiffness matrix tosolve.

• All calculations are dynamic.

• The calculation is Explicit, so need to set asmall time step Δt.

Midas GTS NX is a numericalcode that is formulated underthe finite element method.

• Need to assemble a stiffness matrix.

• Calculation is stopped by singularity in thematrix.

• The calculations can be static or dynamic.

• The dynamic calculation can be carriedout with an explicit and implicit scheme.

1-9

For static analysis, the software over-dampensthe material to avoid parasitic oscillations.

Time does not have a temporal concept, butrather diffuses the energy applied in themodel.

Dynamic analysis are performed in the timedomain.

Computation time in elastic and elastoplasticanalysis are equivalent.

Can run eigenvalue analysis and obtain theproper frequencies / vibration modes.

Dynamic analysis can be made in the time andfrequency domain.

Computational time in elastic analysis issignificantly lower than elasto-plastic analysis.

02. Differences between Midas GTS NX(FEM) and Flac3D(FDM)

Flac3D GTS NX

1-10

The input of geometry, materials, analysistypes, etc. is done through a command file.

FISH programming language can be used toperform multiple purpose subroutines.

It is common to make an intensive use of FISHsubroutines in advanced Flac3D models.

The input of geometry, materials, analysistypes, etc. is done entirely through thegraphical interface.

02. Differences between Midas GTS NX(FEM) and Flac3D(FDM)

Flac3D GTS NX

1-11

Solids are meshed from 13 primitive geometries.

Solids are meshed from any volumes that are defined by importing: • CAD programs • Elementary geometries• Boolean operations (with entities of the

same or lower order, extrusion, etc.)

02. Differences between Midas GTS NX(FEM) and Flac3D(FDM)

Flac3D GTS NX

1-12

The geometric definition andmeshing of the primitive shapesmust comply with specific norms.

02. Differences between Midas GTS NX(FEM) and Flac3D(FDM)

1-13

02. Differences between Midas GTS NX(FEM) and Flac3D(FDM)

During meshing, a volume is divided into ZONES that have a mesh grid point at each vertex (GP).

NO GP'S EXIST IN THE MIDPOINTS OF THE ELEMENT. (No second order elements)

During meshing, a volume is divided into ELEMENTS that have mesh points (NODES).

Linear elements have NODES in each vertex.

Second order elements have additional NODES in the midpoints.

Flac3D GTS NX

1-14

ZONE

GRIDPOINT

ELEMENT

NODE

02. Differences between Midas GTS NX(FEM) and Flac3D(FDM)

Flac3D GTS NX

01. Learning Objective

02. Differences between Midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the Import File ( impgrid)

04. Description of the FISH subroutine

05. Application example nº1: Stress-Deformational

06. Application example nº2: Seepage

07. Conclusions

Content

Structure of the Import File

(impgrid)

1-17

03. Structure of the import file (impgrid)

impgrid - Flac3D import command for volumetric geometry meshes.

The application format is:IMpgrid filename <keyword>

with the following characteristics:

filename is the name of the file, whose extension, if not expressly indicated, is *.FLAC3D

<keyword> usegivenids forces Flac3D to use the same GP identifiers (gridpoint)and zone as those indicated in the import file.

The command creates a new GP for each point indicated in the input file.

In this way, an imported mesh can be incorporated into an existing mesh.

1-18

The rules of the file filename are the following:

• It must be an ASCII file (American Standard Code for Information Interchange)

• Lines with comments must have a ‘*’ at the beginning.

• The white lines will be ignored.

• A line that begins with G indicates a GP, and must contain a GP identifier (ID)followed by the x, y, z coordinates.

• A line that begins with Z indicates a Zone, and must contain a zone identifier(ID) followed by the type of zone and the GP’s (in the form of ID).

• The ID’s of the GP’s and the Zones must be positive integers, but don’t have tobe ordered.

03. Structure of the import file (impgrid)

1-19

The zone types, with the appropriate GP order, are:

• B8→ Cube zone (8 GP)

• W6→Wedge zone (6 GP)

• P5→ Pyramid zone (5 GP)

03. Structure of the import file (impgrid)

1-20

The zone types, with the appropriate GP order, are:

• B7→ Degenerated Cube zone(7 GP)

• T4→ Tetrahedron zone (4 GP)

• The order of GP must be in accordance with that of the figures when defining each zone.

• Otherwise, it will give an import error.

03. Structure of the import file (impgrid)

1-21

The rules of the file filename are thefollowing:

• A line that starts with ZGROUPindicates that of a group ofzones.

• The text that follows is thename of the group.

• Then all the zones of said groupwill be included.

Example

03. Structure of the import file (impgrid)

01. Learning Objective

02. Differences between Midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the import file ( impgrid)

04. Description of the FISH subroutine

05. Application example nº1: Stress-Deformational

06. Application example nº2: Seepage

07. Conclusions

Content

Description of the FISH

subroutine

1-24

04. Description of the FISH subroutine

1-25

04. Description of the FISH subroutine

1-26

04. Description of the FISH subroutine

Short 3D Mesh Export

Example

1-28

Generate nodes table into .txt file

1. Mesh > Nodes Table2. Select All > OK3. Copy-Paste All to Excel4. Save as .txt TAB delimited

1-29

Generate Element table into .txt file

1. Mesh > Element Table2. Select All > OK3. Copy-Paste All to Excel4. Replace All of Column C

names with corresponding property number

5. Save as .txt TAB delimited

1-30

Update Fish Import.dat file

• Call new .txt files and save mesh as flac3d file

• Files Called in Red

• Files Created in Green

1-31

Update Fish Import.dat file

• Save new imported mesh

as flac3d file

1-32

Create Fish Calc .dat file

• In this example, no calculation takes place

• Import of mesh happens by calling Import

Fish . DAT File

• Next 2exampleswillhaveFishcommands

forcalculation of given models.

1-33

Open Flac3D, run .dat files

01. Learning Objective

02. Differences between Midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the import file ( impgrid)

04. Description of the FISH subroutine

05. Application Example nº1: Stress-Deformational

06. Application example nº2: Seepage

07. Conclusions

Content

Application Example nº1

Stress-Deformation

1-36

05. Application example nº1 Stress-Deformation Calculation

1-37

MATERIALES INVOLUCRADOS

Concrete Pier

Concrete Footing

Fill

Unit 1b

Unit 2a Unit 2b1 Level 1-2

Unit 2b1 Level 3

Unit 2b1 Level 4

Unit 2b2

Unit 2c

05. Application example nº1 Stress-Deformation Calculation

1-38

05. Application example nº1 Stress-Deformation Calculation

1-39

Stage 1: Initial Stresses

05. Application example nº1 Stress-Deformation Calculation

1-40

Stage 2: Excavation

05. Application example nº1 Stress-Deformation Calculation

1-41

Stage 3: Filling

05. Application example nº1 Stress-Deformation Calculation

1-42

Stage 4: Construction of Footings

05. Application example nº1 Stress-Deformation Calculation

1-43

Stage 5: Construction of Bridge Pier

05. Application example nº1 Stress-Deformation Calculation

1-44

Stage 6: Application of Asymmetric Loads(The displacements from previous stages were cleared)

Fx = 500 tons (horizontal longitudinal)Fy = 400 tons (horizontal transversal)Fz = 20,000 tons (vertical)

Calculation Time = 12 minute

05. Application example nº1 Stress-Deformation Calculation

1-45

MIDAS GTS NX MESH PREPARATION

• MESH SET (Midas GTS NX)→ Groups Flac3D• In each Mesh Set assign a different property→ 1 MS = 1 Prop• Avoid meshes “matching space”→ Fits the way you work with Flac3D

05. Application example nº1 Stress-Deformation Calculation

1-46

FLAC3D MODEL

05. Application example nº1 Stress-Deformation Calculation

1-47

FLAC3D MODEL

11

05. Application example nº1 Stress-Deformation Calculation

1-48

FLAC3D MODEL

05. Application example nº1 Stress-Deformation Calculation

1-49

FLAC3D MODEL

05. Application example nº1 Stress-Deformation Calculation

1-50

05. Application example nº1 Stress-Deformation Calculation

MODEL LIST FLAC3D

1-51

05. Application example nº1 Stress-Deformation Calculation

MODEL LIST FLAC3D

1-52

05. Application example nº1 Stress-Deformation Calculation

MODEL LIST FLAC3D

1-53

Default Software Value

Calculation Time = 466 minute

05. Application example nº1 Stress-Deformation Calculation

MODEL LIST FLAC3D

1-54

Ux

05. Application example nº1 Stress-Deformation Calculation

1-55

Ux (1E-5)

05. Application example nº1 Stress-Deformation Calculation

1-56

Ux (1E-7)

05. Application example nº1 Stress-Deformation Calculation

1-57

Ux (<1E-7)

05. Application example nº1 Stress-Deformation Calculation

1-58

Uy

05. Application example nº1 Stress-Deformation Calculation

1-59

Uy (1E-5)

05. Application example nº1 Stress-Deformation Calculation

1-60

Uy (1E-7)

05. Application example nº1 Stress-Deformation Calculation

1-61

Uy (<1E-7)

05. Application example nº1 Stress-Deformation Calculation

1-62

Uz

05. Application example nº1 Stress-Deformation Calculation

1-63

Uz (1E-5)

05. Application example nº1 Stress-Deformation Calculation

1-64

Uz (1E-7)

05. Application example nº1 Stress-Deformation Calculation

1-65

05. Application Example nº1: Stress-Deformation

Uz (<1E-7)

01. Learning Objective

02. Differences between Midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the import file ( impgrid)

04. Description of the FISH subroutine

05. Application Example nº1: Stress-Deformation

06. Application example nº2: Seepage

07. Conclusions

Content

Application example nº2:

Seepage

1-68

06. Application example nº2: Seepage

1-69

Model 2D

T cálculo = 1 minuto

06. Application example nº2: Seepage

1-70

Model 2D – 3D

06. Application example nº2: Seepage

1-71

Model 2D – 3D

Y MIDAS→ Z Flac3D

Z MIDAS→ Y Flac3D

06. Application example nº2: Seepage

1-72

w

FLAC

KK

=

06. Application example nº2: Seepage

MODEL LIST FLAC3D

1-73

MODEL LIST FLAC3D

Eq. Dupuit

Calculation Time = 77 minutos

06. Application example nº2: Seepage

1-74

Pp

06. Application example nº2: Stress-Seepage

1-75

Pp

= 1·(152-102)/(2·100) = 0.625 m3/day/m

06. Application example nº2: Stress-Seepage

1-76

06. Application example nº2: Stress-Seepage

Pp

= 1·(152-102)/(2·100) = 0.625 m3/day/m

01. Learning Objective

02. Differences between Midas GTS NX (FEM) and Flac3D (FDM)

03. Structure of the import file ( impgrid)

04. Description of the FISH subroutine

05. Application Example nº1: Stress-Deformation

06. Application example nº2: Seepage

07. Conclusions

Content

Conclusions

1-79

07. Conclusions

The session has shown:

1. Flac3D program allows users to import a volumetric mesh according to a certain filestructure.

2. There are important differences between the modeling in midas GTS NX and Flac3D(elements vs zones, model introduction, generation of stages, etc.)

3. Using the FISH subroutine, users can easily import a volumetric mesh from midas GTSNX to Flac3D.

4. The workflow to generate the auxiliary files needed in the import was shown.5. The exported mesh allows calculation in Flac3D both stress-deformation and seepage.6. From the exported mesh, Flac3D must generate a calculation file. Therefore any type

of calculation can be made.7. The results obtained are similar in midas GTS NX and Flac3D.8. The calculation time of MIDAS is significantly lower than Flac.9. Flac3D requires more training and technical skills to complete a similar model than in

MIDAS GTS NX.