Difference between revisions of "Contrib:Claws/Code Aster"

From CAELinuxWiki
Jump to: navigation, search
(Contents)
 
(10 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
Here I've collected and uploaded a series of cases and code-snippets that some might find useful.
 
Here I've collected and uploaded a series of cases and code-snippets that some might find useful.
  
I consider this an online notebook of my Code_Aster endeavors and I'll try to keep it updated with the experiments I do.
+
I consider this an online notebook of my Code Aster® endeavours and I'll try to keep it updated with the experiments I do.
  
*''Thanks to everyone who helped me, and whos *.comm file I've taken stuff from - too many to write here :)''
+
*''Thanks to everyone who helped me, and who's *.comm file I've taken stuff from - too many to write here :)''
  
 
/Claus Andersen, Jan. 2009
 
/Claus Andersen, Jan. 2009
  
== Small guide to using AMD math libs with Code_Aster ==
+
== Small guide to using AMD math libs with Code Aster® ==
  
 
[[Contrib:Claws/Code_Aster/amd_math|'''Link: Using AMD math libs''']]
 
[[Contrib:Claws/Code_Aster/amd_math|'''Link: Using AMD math libs''']]
 +
 +
== Misc. files ==
 +
Old fatigue example
 +
 +
http://www.code-aster.org/forum2/viewtopic.php?id=15617
 +
 +
http://caelinux.org/wiki/images/d/d0/Fatig.tar.gz
  
 
== .comm file examples ==
 
== .comm file examples ==
Line 35: Line 42:
 
== Full cases ==
 
== Full cases ==
  
=== Code_Aster 9.04 cases ===
+
=== Code_Aster® 9.04 cases ===
  
 
[[Contrib:Claws/Code_Aster/9.04cases|'''Link: Code_Aster 9.04 cases''']] <br />
 
[[Contrib:Claws/Code_Aster/9.04cases|'''Link: Code_Aster 9.04 cases''']] <br />
  
Here I have uploaded some cases that are up to date with '''Code_Aster 9.4''' ('''C_A''') along with '''*.astk''', '''*.comm''', '''mesh-files''', '''*.hdf''' etc. etc. They should be usable 'as is'.
+
Here I have uploaded some cases that are up to date with '''Code Aster® 9.4''' ('''C_A''') along with '''*.astk''', '''*.comm''', '''mesh-files''', '''*.hdf''' etc. etc. They should be usable 'as is'.
  
The point of these are that I've struggled much with the now out-dated examples (they are still valid, but wont run in later '''Code_Aster''' without much editing) and want to provide an easy way of copy/paste for newer users of '''C_A'''.
+
The point of these are that I've struggled much with the now out-dated examples (they are still valid, but wont run in later '''Code_Aster''' without much editing) and want to provide an easy way of copy/paste for newer users of '''Code Aster®'''.
  
 
[[Image:9_04cases.png|link[Contrib:Claws/Code_Aster/9.04cases]|caption]]
 
[[Image:9_04cases.png|link[Contrib:Claws/Code_Aster/9.04cases]|caption]]
Line 53: Line 60:
 
*Contact
 
*Contact
  
=== Code_Aster 10.X cases ===
+
=== Code Aster® 10.X / 11.X cases ===
 
+
[[Contrib:Claws/Code_Aster/10_x_cases|'''Link: Code_Aster 10 x cases''']]
+
  
Here I have uploaded some cases that are up to date with '''Code_Aster 10.X''' ('''C_A''') along with '''*.astk''', '''*.comm''', '''mesh-files''', '''*.hdf''' etc. etc. They should be usable 'as is'.
+
[[Contrib:Claws/Code_Aster/10_x_cases|'''Link: Code_Aster 10.x  / 11.x cases''']]
  
[[Image:Claws_result.png]][[Image:Claws_liaison_elem_compare_scaled2.png]] [[Image:Wiki-piston-scaled.png]] [[Image:SS_small.png]]
+
Here I have uploaded some cases that are up to date with '''Code Aster® 10.X''' ('''C_A''') along with '''*.astk''', '''*.comm''', '''mesh-files''', '''*.hdf''' etc. etc. They should be usable 'as is'.
  
[[Image:Claws_assm_geo.jpg|500px]]
+
[[Image:Thumb_torque.png]][[Image:Thumb_liason_elem_scaled.png]][[Image:Claws_piston_SS_scaled.png]]<br />
 +
[[Image:Thumb_assembly_scaled.png]][[Image:Thumb_Pendulum_scaled.png]][[Image:Claws_Thumb_plast_350px.png]]<br />
 +
[[Image:Claws_Beam_wiki_front_small.png]]
  
 
Includes:
 
Includes:
  
*Piston tutorial, updated for '''SaloméMECA 2010.2'''
+
*Piston tutorial, updated for '''SaloméMECA® 2010.2'''
 
*Applying torque to a structure - '''LIAISON_SOLIDE'''
 
*Applying torque to a structure - '''LIAISON_SOLIDE'''
*Using parameters in '''Code_Aster'''
+
*Using parameters in Code Aster®
 
*Creating an animated GIF file of results
 
*Creating an animated GIF file of results
 
*'''LIAISON_ELEM''':Connecting 3D structures to 1D elements; using beams to substitute 3D geometry
 
*'''LIAISON_ELEM''':Connecting 3D structures to 1D elements; using beams to substitute 3D geometry
Line 74: Line 81:
 
*Cables
 
*Cables
 
*'''DYNA_NON_LINE'''
 
*'''DYNA_NON_LINE'''
*Tracing curves with '''Code_Aster''' and XMGrace
+
*Tracing curves with Code Aster® and XMGrace
*Calculating assemblies with Code_Aster
+
*Calculating assemblies with Code Aster®
 
*'''ASSE_MAIL''' for assembling the meshes
 
*'''ASSE_MAIL''' for assembling the meshes
 
*'''LIAISON_MAIL''' for connecting the meshes  
 
*'''LIAISON_MAIL''' for connecting the meshes  
 
*'''IMPR_RESU''' - RESTRAINT for only printing the relevant results to the meshes
 
*'''IMPR_RESU''' - RESTRAINT for only printing the relevant results to the meshes
*Note on interpreting Von Mises stress in Salomé/Code_Aster
+
*Note on interpreting Von Mises stress in Salomé®/Code Aster®
 +
*'''Plasticity''' Nonlinear deformation of an aluminium wheel rim
 +
*'''Separate simulation and post processing'''
 +
*'''Advanced post processing'''
 +
*'''Cyclic boundary conditions'''
 +
*'''1D, 2D and 3D beam statics'''
 +
*'''MACR_CARA_POUTRE''' for calculating 2D sections

Latest revision as of 17:29, 3 June 2015

<-Link: Back to Contrib:Claws


CA Signature transparent.png

Contents

Introduction

Here I've collected and uploaded a series of cases and code-snippets that some might find useful.

I consider this an online notebook of my Code Aster® endeavours and I'll try to keep it updated with the experiments I do.

  • Thanks to everyone who helped me, and who's *.comm file I've taken stuff from - too many to write here :)

/Claus Andersen, Jan. 2009

Small guide to using AMD math libs with Code Aster®

Link: Using AMD math libs

Misc. files

Old fatigue example

http://www.code-aster.org/forum2/viewtopic.php?id=15617

http://caelinux.org/wiki/images/d/d0/Fatig.tar.gz

.comm file examples

Link: .comm file concepts - mixed examples

Small snippets from various cases, tricks and other neat stuff - can be copy/pasted

Includes:

  • Extracting max/min principal stress of a model
  • Extracting node reactions and forces
  • Create a table of the principal stresses from each node
  • Creating a node group from the entire model


Full cases

Code_Aster® 9.04 cases

Link: Code_Aster 9.04 cases

Here I have uploaded some cases that are up to date with Code Aster® 9.4 (C_A) along with *.astk, *.comm, mesh-files, *.hdf etc. etc. They should be usable 'as is'.

The point of these are that I've struggled much with the now out-dated examples (they are still valid, but wont run in later Code_Aster without much editing) and want to provide an easy way of copy/paste for newer users of Code Aster®.

caption

Includes:

  • Linear statics of an H-beam
  • Converting a mesh from linear to quadratic (2nd order) and projecting the result onto a linear mesh
  • Outputting to Ensight format
  • Non-linear plasticity study
  • Contact

Code Aster® 10.X / 11.X cases

Link: Code_Aster 10.x / 11.x cases

Here I have uploaded some cases that are up to date with Code Aster® 10.X (C_A) along with *.astk, *.comm, mesh-files, *.hdf etc. etc. They should be usable 'as is'.

Thumb torque.pngThumb liason elem scaled.pngClaws piston SS scaled.png
Thumb assembly scaled.pngThumb Pendulum scaled.pngClaws Thumb plast 350px.png
Claws Beam wiki front small.png

Includes:

  • Piston tutorial, updated for SaloméMECA® 2010.2
  • Applying torque to a structure - LIAISON_SOLIDE
  • Using parameters in Code Aster®
  • Creating an animated GIF file of results
  • LIAISON_ELEM:Connecting 3D structures to 1D elements; using beams to substitute 3D geometry
  • Describing geometry with AFFE_CARA_ELEM
  • LIAISON_UNIF
  • Cables
  • DYNA_NON_LINE
  • Tracing curves with Code Aster® and XMGrace
  • Calculating assemblies with Code Aster®
  • ASSE_MAIL for assembling the meshes
  • LIAISON_MAIL for connecting the meshes
  • IMPR_RESU - RESTRAINT for only printing the relevant results to the meshes
  • Note on interpreting Von Mises stress in Salomé®/Code Aster®
  • Plasticity Nonlinear deformation of an aluminium wheel rim
  • Separate simulation and post processing
  • Advanced post processing
  • Cyclic boundary conditions
  • 1D, 2D and 3D beam statics
  • MACR_CARA_POUTRE for calculating 2D sections