xcfem / xc

finite element analysis package for civil engineering structures.
http://www.xcengineering.xyz/html_files/software.html
GNU General Public License v3.0
262 stars 54 forks source link

get started with XC #32

Closed berndhahnebach closed 5 years ago

berndhahnebach commented 5 years ago

Hi Luis, Hi Ana,

ist there some documentation to get started? I found https://github.com/anaiortega where are a lot of models. I'm looking for some simple example to get started.

cheers bernd

lcpt commented 5 years ago

Hi Bernd.

We are writing some tutorials based on verificatio tests (they are all very simple). A draft of the fisrt one will be ready in two or three days.

Regards Luis.

lcpt commented 5 years ago

You ca find some documentation here:

https://lcpt.github.io/XCmanual/

And here https://codedocs.xyz/lcpt/xc/index.html (almost all of the C++ objects are already exposed to Python via boost.python) the corresponding Python functions are almos always obvious.

@anaiortega can you put some more information here?

Cheers.

berndhahnebach commented 5 years ago

Hi Luis,

I saw them both alredy. What I'm looking for is a simple expample how to put the pieces together. How to set up geometry, a mesh, the constraints, the element type, run the solver, do some simple post processing.

Just to get a start. If I know this for a simple example than I will find all other stuff in thesdocumentations mentioned above, hopefully :-)

cheers bernd

anaiortega commented 5 years ago

These articles deal with several verification tests included in the verif directory, but not exactly a tutorial:

http://www.xcengineering.xyz/blog_doc/2017_vibr_string/modes_vibrating_string_tension.pdf

anaiortega commented 5 years ago

Sorry, upper-lower case misplaced in url :-)

http://www.xcengineering.xyz/blog_doc/2017_EC2Building/EC2building.pdf

berndhahnebach commented 5 years ago

I'm looking for some much simpler informations. Assumed the building https://github.com/anaiortega/XCmodels/tree/master/buildingEC2 There are lots of python modules. As far as I understood all XC input is done only by Python modules. Which modul do I need to start with? I'm somehow missing the big picture, something very obvisious for you guys.

bernd

lcpt commented 5 years ago

Hi Luis,

I saw them both alredy. What I'm looking for is a simple expample how to put the pieces together. How to set up geometry, a mesh, the constraints, the element type, run the solver, do some simple post processing.

Just to get a start. If I know this for a simple example than I will find all other stuff in thesdocumentations mentioned above, hopefully :-)

cheers bernd

You can take a look here (meshing): xc/verif/tests/preprocessor/test_surface_meshing_01.py

and here (tiny complete example without meshing): xc/verif/tests/elements/truss_temperat.py

anaiortega commented 5 years ago

Well, let's take https://github.com/anaiortega/XCmodels/tree/master/workingModel

a simpler model than the buildingE2 (probably outdated).

Perhaps you can follow the stream top-down by executing the scripts in the directory 'display'. For example

Up to here, files related to model generation. The others require to solve the FE problem, define the reinforcement, run limit state verifications, ... (a little longer, we'll try to make an introduction to that)

Cheers

lcpt commented 5 years ago

An example a bit more complete: xc/verif/tests/elements/shell/test_shell_mitc4_13.py

lcpt commented 5 years ago

I've updated some examples in verif so it's better if you make a pull.

Cheers.

berndhahnebach commented 5 years ago

great. Thanks for all the informations. I will try diving into it and give some feedback ...

Bernd

lcpt commented 5 years ago

With pleasure!

berndhahnebach commented 5 years ago

https://github.com/anaiortega/XCmodels/issues