XC, opensource structural engineering FEM code

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

XC, opensource structural engineering FEM code

Post by bernd »

Found this:

- https://github.com/xcfem/
- https://sites.google.com/site/xcfemanalysis/
- http://www.xcengineering.xyz/
- https://github.com/anaiortega/XCmodels

The author is on FreeCAD forum too. I will point him tho this topic.

How about XC? I have never heard of this FEM software. Since I'm structural engineer too and non of the available solver, neither CalculiX nor Z88 or Elmer does do real beam shell analysis used in structural engineering I'm very interested here too. I had a look at github and the internet page of XC. There is much but not some good overview or video. How do you make pre-processing? What mesh software do you use? Post-processing seams to be done with Paraview? Is it some spare time project or do you are on a university? Lots of questions ... :)

bernd

structural interface:
https://forum.freecadweb.org/viewtopic.php?f=39&t=27620

links which help to get started:
http://www.xcengineering.xyz/blog_doc/2 ... s_temp.pdf and https://github.com/berndhahnebach/XCmod ... l01/tut.py
https://github.com/xcfem/xc/issues/32
https://github.com/anaiortega/XCmodels/issues/2
https://github.com/anaiortega/XCmodels/issues/4
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: XC, opensource structural engineering FEM code

Post by bernd »

it is developed in Lausanne in Switzerland. Very interesting since I'm base in Switzerland too. Which means I use SIA too :D

@Luis:

How do I compile XC or do you have some binaries available? I could not find anything in this regard? On which platform does it compile or run?

Bernd
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: XC, opensource structural engineering FEM code

Post by kkremitzki »

This would be an interesting software to package for the Debian Science Team.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: XC, opensource structural engineering FEM code

Post by bernd »

They seam to work with ubuntu https://github.com/lcpt/xc/blob/master/install.txt Hope for me to give this a try, since I'm on Debian Stretch :)
l_pereztato
Posts: 17
Joined: Thu Mar 22, 2018 8:28 am
Contact:

Re: XC, opensource structural engineering FEM code

Post by l_pereztato »

Well, thanks for your interest!

Yeah we use Ubuntu but it must compile under Debian too. If not let me know and we'll fix that.

About preprocessing: we have developed some meshing tools based on block topology (k-points, line, surface (quad), volume (cuboid)). For really complex meshes we use Salome.

For post-processing we use the Python interface of the VTK-6 libraries.

About the license: I think this is no "GPL compliant" because of the Opensees license.

We are working in the documentation of the code...

I'll happy to answer any further questions.
Luis
User avatar
kkremitzki
Veteran
Posts: 2515
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: XC, opensource structural engineering FEM code

Post by kkremitzki »

l_pereztato wrote: Sun Sep 30, 2018 6:55 pm
About the license: I think this is no "GPL compliant" because of the Opensees license.
Ah, that's really unfortunate then, since their license restricts particular uses it's not considered a free software license, just an open source one. I wonder why they picked that instead of something more permissive like BSD.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: XC, opensource structural engineering FEM code

Post by bernd »

Thanks luis for your answer.


l_pereztato wrote: Sun Sep 30, 2018 6:55 pm For really complex meshes we use Salome.
What mesh format do you use as input for your solver? How do you apply constraints, to geometry or to the mesh? Does your solver work with import files?


In this document http://www.xcengineering.xyz/blog_doc/2 ... ilding.pdf is here
A three-dimensional model of the structure has been built, all the scripts related to this model are hosted here in GitHub.
This link is dead ... https://github.com/anaiortega/XCproject ... uildingEC2

Does it mean you created all solver preprocessing for this project (geometry, constraints, mesh) example by Python scripts?
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: XC, opensource structural engineering FEM code

Post by bernd »

l_pereztato wrote: Sun Sep 30, 2018 6:55 pm For post-processing we use the Python interface of the VTK-6 libraries.
Does it mean XC is able to write the results into vtk file format.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: XC, opensource structural engineering FEM code

Post by bernd »

More questions luis ... Is this made with vtk python too ... https://github.com/lcpt/xc/blob/master/ ... _grua.jpeg I did not know vtk supports that kind of output on line meshes ...
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: XC, opensource structural engineering FEM code

Post by bernd »

Post Reply