Calculix USER's MANUAL
Total Page:16
File Type:pdf, Size:1020Kb
CalculiX USER’S MANUAL - CalculiX GraphiX, Version 2.7 - Klaus Wittig February 18, 2014 Figure 1: A complex model made from scratch using second order brick elements 1 Contents 1 Introduction 7 2 Concept 7 3 File Formats 8 4 Getting Started 9 5 Program Parameters 13 6 Input Devices 14 6.1 Mouse ................................. 14 6.2 Keyboard ............................... 15 7 Menu 16 7.1 Datasets................................ 16 7.1.1 Entity ............................. 17 7.2 Viewing ................................ 17 7.2.1 ShowElementsWithLight . 17 7.2.2 ShowBadElements . 17 7.2.3 Fill............................... 17 7.2.4 Lines.............................. 17 7.2.5 Dots.............................. 18 7.2.6 ToggleCullingBack/Front . 18 7.2.7 ToggleModelEdges . 18 7.2.8 ToggleElementEdges . 18 7.2.9 ToggleSurfaces/Volumes . 18 7.2.10 Toggle Move-Z/Zoom . 18 7.2.11 Toggle Background Color . 19 7.2.12 ToggleVector-Plot . 19 7.2.13 ToggleAdd-Displacement . 19 7.3 Animate................................ 19 7.3.1 Start.............................. 19 7.3.2 Tune-Value .......................... 19 7.3.3 StepsperPeriod ....................... 20 7.3.4 TimeperPeriod ....................... 20 7.3.5 ToggleRealDisplacements . 20 7.3.6 ToggleDatasetSequence. 20 7.4 Frame ................................. 20 7.5 Zoom ................................. 20 7.6 Center................................. 20 7.7 Enquire ................................ 21 7.8 Cut .................................. 21 7.9 Graph ................................. 21 7.10Orientation .............................. 21 2 7.10.1 +xView............................ 21 7.10.2 -xView ............................ 21 7.10.3 +yView............................ 21 7.10.4 -yView ............................ 21 7.10.5 +zView............................ 21 7.10.6 -zView ............................ 22 7.11Hardcopy ............................... 22 7.11.1 Tga-Hardcopy ........................ 22 7.11.2 Ps-Hardcopy ......................... 22 7.11.3 Gif-Hardcopy . 22 7.11.4 Png-Hardcopy ........................ 22 7.11.5 StartRecordingGif-Movie. 22 7.12Help .................................. 22 7.13Quit .................................. 23 8 Commands 23 8.1 area .................................. 23 8.2 asgn .................................. 24 8.3 bia................................... 24 8.4 body.................................. 25 8.5 call................................... 26 8.6 cntr .................................. 26 8.7 comp.................................. 26 8.8 copy .................................. 27 8.9 corrad ................................. 28 8.10csysa.................................. 28 8.11cut................................... 28 8.12del................................... 29 8.13div................................... 30 8.14ds ................................... 31 8.15elem .................................. 32 8.16elty................................... 32 8.17enq................................... 33 8.18eqal .................................. 34 8.19exit................................... 35 8.20flip................................... 35 8.21flpc................................... 35 8.22font .................................. 35 8.23frame ................................. 35 8.24gbod.................................. 36 8.25gonly.................................. 36 8.26graph ................................. 36 8.27grps .................................. 38 8.28gsur .................................. 38 8.29gtol .................................. 39 8.30hcpy.................................. 39 3 8.31help .................................. 39 8.32lcmb.................................. 40 8.33length ................................. 40 8.34line................................... 40 8.35lnor .................................. 41 8.36mata.................................. 41 8.37map .................................. 41 8.38mats.................................. 42 8.39max .................................. 42 8.40merg.................................. 42 8.41mesh.................................. 43 8.42mids.................................. 44 8.43min .................................. 44 8.44minus ................................. 44 8.45mm .................................. 45 8.46move.................................. 45 8.47movi.................................. 46 8.48msg .................................. 47 8.49node.................................. 47 8.50nurl .................................. 47 8.51nurs .................................. 47 8.52ori ................................... 48 8.53plot .................................. 48 8.54plus .................................. 49 8.55pnt................................... 50 8.56prnt .................................. 50 8.57proj .................................. 52 8.58qadd.................................. 52 8.59qali................................... 53 8.60qbia .................................. 53 8.61qbod.................................. 54 8.62qcnt .................................. 54 8.63qcut .................................. 54 8.64qdel .................................. 55 8.65qdis .................................. 56 8.66qdiv .................................. 56 8.67qenq.................................. 57 8.68qfil................................... 57 8.69qflp................................... 58 8.70qint .................................. 59 8.71qlin................................... 59 8.72qmsh.................................. 60 8.73qnor .................................. 61 8.74qpnt .................................. 61 8.75qnod.................................. 62 8.76qrem.................................. 62 4 8.77qseq .................................. 62 8.78qshp .................................. 63 8.79qspl .................................. 63 8.80qsur .................................. 63 8.81qtxt .................................. 64 8.82quit .................................. 65 8.83read .................................. 66 8.84rep................................... 68 8.85rnam.................................. 68 8.86rot................................... 68 8.87save .................................. 69 8.88scal................................... 69 8.89send .................................. 69 8.90seqa .................................. 80 8.91seql .................................. 81 8.92seta .................................. 81 8.93setc .................................. 82 8.94sete .................................. 83 8.95seti................................... 83 8.96seto .................................. 83 8.97setr................................... 84 8.98shpe .................................. 84 8.99split .................................. 84 8.100steps.................................. 85 8.101surf .................................. 85 8.102swep.................................. 85 8.103sys................................... 86 8.104text .................................. 86 8.105tra ................................... 87 8.106trfm .................................. 87 8.107ucut .................................. 88 8.108view .................................. 88 8.109volu .................................. 89 8.110zap................................... 89 8.111zoom.................................. 89 9 Element Types 90 10 Result Format 96 10.1 ModelHeaderRecord . 97 10.2 UserHeaderRecord ......................... 97 10.3 NodalPointCoordinateBlock. 97 10.4 ElementDefinitionBlock . 98 10.5 ParameterHeaderRecord . 99 10.6 NodalResultsBlock . 99 5 11 Pre-defined Calculations 102 11.1 VonMisesEquivalentStress. 102 11.2 PrincipalStresses. 102 11.3 TrescaStresses . 103 11.4 CylindricalStresses. 103 12 User-Functions 103 A Known Problems 103 A.1 Programisnotresponding. 103 A.2 DuringMeshing............................ 103 A.3 Programgeneratesasegmentationfault . 104 B Tips and Hints 104 B.1 Howtochangetheformatofthemoviefile . 104 B.2 Howtodefineasetofentities . 104 B.3 How to enquire node numbers and values at certain locations . 105 B.4 Howtoselectonlynodesonthesurface . 105 B.5 Howtogenerateatime-historyplot . 105 B.6 Howthemeshisrelatedtothegeometry. 106 B.7 Howtochangetheorderofelements . 107 B.8 Howtoconnectindependentmeshes . 107 B.9 Howtodefineloadsandconstraints . 107 B.10Howtomaploads .......................... 108 B.11Howtoruncgxinbatchmode . 110 B.12Howtodealwithcad-geometry . 110 B.13Howtocheckaninputfileforccx. 113 B.14RemarksConcerningAnsys . 114 B.15RemarksConcerningCodeAster . 114 B.16RemarksConcerningdolfyn . 115 B.17RemarksConcerningDunsandIsaac . 115 B.18RemarksConcerningNastran . 115 B.19RemarksConcerningNETGEN . 116 B.20RemarksConcerningOpenFOAM. 116 B.21RemarksConcerningSamcef. 117 C Simple Examples 119 C.1 Disc ..................................119 C.2 Cylinder................................ 120 C.3 Sphere.................................122 C.4 Sphere(Volume) ........................... 123 C.5 Airfoilforcfdcodes . 124 6 1 Introduction This document is the description of CalculiX GraphiX (cgx). This program is designed to generate and display finite elements (FE) and results coming from CalculiX CrunchiX (ccx). If you have any problems using cgx, this document should solve them. If not, you might send an email to the author [3]. The Con- cept and File Format sections give some background on functionality and mesher capabilities. The Getting Started section describes how to run the verification examples