Difference between revisions of "Contrib:Claws/Code Aster"
Line 4: | Line 4: | ||
The point of these is, that I've struggled much with the 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 is, that I've struggled much with the 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'''. | ||
+ | |||
+ | *''Thanks to everyone who helped me, and whos *.comm file I've taken stuff from - too many to write here :)'' | ||
''Software used:'' | ''Software used:'' | ||
Line 14: | Line 16: | ||
*Dual core Intel 2.4GHz with 4G of RAM - all calculations are assigned 2 cores in '''ASTK''' - change this if you have more or less cores<br /> | *Dual core Intel 2.4GHz with 4G of RAM - all calculations are assigned 2 cores in '''ASTK''' - change this if you have more or less cores<br /> | ||
− | + | <br /> | |
I have tried to comment the *.comm files as well as I could, but I am far from an expert on '''C_A''' so use these files only as an example of the file structure/the '''C_A''' way of thinking.<br /> | I have tried to comment the *.comm files as well as I could, but I am far from an expert on '''C_A''' so use these files only as an example of the file structure/the '''C_A''' way of thinking.<br /> | ||
Line 32: | Line 34: | ||
<br /> | <br /> | ||
− | This is a study on a tensile strength test I did on first semester - I can't remember the forces required, but that it snapped at about 10mm. This is a nonlinear calculation using the same Alu. material used in the above calculation.<br /> | + | *This is a study on a tensile strength test I did on first semester - I can't remember the forces required, but that it snapped at about 10mm. This is a nonlinear calculation using the same Alu. material used in the above calculation.<br /> |
[[Image:Result.setup.resized.png]] | [[Image:Result.setup.resized.png]] | ||
− | *[http://www.caelinux.org/wiki/images/f/f3/Study_Tensile_rod.tar.gz Study_Tensile_rod.tar.gz] | + | *[http://www.caelinux.org/wiki/images/f/f3/Study_Tensile_rod.tar.gz Study_Tensile_rod.tar.gz]<br /> |
+ | <br /> | ||
+ | This is an example of contact - the aluminum rod is pressing down on a solid steel block. The example introduces an new concept (for me): creating a ''linear'' mesh in Salomé, loading and converting this mesh in '''C_A''' to a ''quadratic'' mesh, run the calculation and the project the results back to the linear mesh. This saves space on the mesh/result file but retains the finer results from the quadratic mesh. The *.comm file is documented to some degree, but some concepts I don't fully understand yet. | ||
+ | |||
+ | [[Image:Result-setup-resized.png]] | ||
+ | |||
+ | *[http://www.caelinux.org/wiki/images/0/0a/Study_Contact_New.tar.gz Study_Contact_New.tar.gz] | ||
+ | |||
/Claus Andersen, Jan. 2009 | /Claus Andersen, Jan. 2009 |
Revision as of 16:55, 22 January 2009
Awright - this is done in a HURRY so take everything with a grain of salt - I hope to do some corrections later, or YOU can do it (edit) :)
Here I have uploaded some cases that are up to date with the latest 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 is, that I've struggled much with the 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.
- Thanks to everyone who helped me, and whos *.comm file I've taken stuff from - too many to write here :)
Software used:
- Ubuntu 8.10
- Salomé 4.1.4 for preparation of the geometry and meshing
- Code_Aster 9.4 32bit, compiled with the Intel compiler for calculation
Computer used:
- Dual core Intel 2.4GHz with 4G of RAM - all calculations are assigned 2 cores in ASTK - change this if you have more or less cores
I have tried to comment the *.comm files as well as I could, but I am far from an expert on C_A so use these files only as an example of the file structure/the C_A way of thinking.
Note: These cases are for loading into ASTK and not for running from e.g. SaloméMECA - Salomé should only be used for viewing the geometry, mesh and postprocessing the result files.
I hope these cases prove valuable for learning a bit more about C_A
These are my current uploads:
- MathCAD_-_Beam.xmcd.pdf This is the basis for the calculations. It is used to compare the results obtained from C_A
- Study_Beam-linaer.tar.gz H-Beam imposed with a ridiculous load, linear static/elastic. Linear mesh
- Study_Beam-quad.tar.gz This is the same calculation, but with a quadratic mesh
- Study_Beam-lin-ensight.tar.gz This is the same calculation, with a quadratic mesh but with Ensight® output format
- Study_Beam-nonlinear.tar.gz This is a nonlinear/plasticity calculation of the above study - It relies heavily on the tutorial of PCarrico on plasticity, so refer to this one if my comments are inadequate.
- This is a study on a tensile strength test I did on first semester - I can't remember the forces required, but that it snapped at about 10mm. This is a nonlinear calculation using the same Alu. material used in the above calculation.
This is an example of contact - the aluminum rod is pressing down on a solid steel block. The example introduces an new concept (for me): creating a linear mesh in Salomé, loading and converting this mesh in C_A to a quadratic mesh, run the calculation and the project the results back to the linear mesh. This saves space on the mesh/result file but retains the finer results from the quadratic mesh. The *.comm file is documented to some degree, but some concepts I don't fully understand yet.
/Claus Andersen, Jan. 2009