Help with solvers (Nastran)

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Help with solvers (Nastran)

Post by johnwang »

example under inp folder

https://github.com/nasa/NASTRAN-95/blob ... 06011a.inp

ctrmem2.jpg
ctrmem2.jpg (17.07 KiB) Viewed 1257 times
ctrmem.jpg
ctrmem.jpg (54.84 KiB) Viewed 1257 times
Last edited by johnwang on Wed Jul 01, 2020 1:02 am, edited 2 times in total.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Help with solvers (Nastran)

Post by johnwang »

the TH = 90.0 is defined as
ctrmem4.jpg
ctrmem4.jpg (12.97 KiB) Viewed 1254 times
Photo below is without drawing the 90 degree triangle
no90.jpg
no90.jpg (65.06 KiB) Viewed 1254 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Help with solvers (Nastran)

Post by johnwang »

the 90 degree only elements
with90.jpg
with90.jpg (25.23 KiB) Viewed 1214 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Help with solvers (Nastran)

Post by bernd »

How about the holes? Are these holes or elements with normals in the other direction? If the later you should set BackfaceCulling to False in the mesh View properties to show all Faces colored.
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Help with solvers (Nastran)

Post by johnwang »

bernd wrote: Wed Jul 01, 2020 7:20 am How about the holes? Are these holes or elements with normals in the other direction? If the later you should set BackfaceCulling to False in the mesh View properties to show all Faces colored.
It is the normals. BackfaceCulling works. Thanks.

I tried to calculate the normal. If it is in opposite direction, then draw the triangle in the other node sequence.

cr2.jpg
cr2.jpg (78.57 KiB) Viewed 1143 times
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Help with solvers (Nastran)

Post by bernd »

Better to flip normals. For such a mesh all normals should go into the same direction.
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Help with solvers (Nastran)

Post by johnwang »

bernd wrote: Thu Jul 02, 2020 4:26 am Better to flip normals. For such a mesh all normals should go into the same direction.
This mesh may be generated by hand at the old time, so they didn't pay too much attention to the normal.

Does it affect fea?
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Help with solvers (Nastran)

Post by bernd »

johnwang wrote: Thu Jul 02, 2020 4:44 am
bernd wrote: Thu Jul 02, 2020 4:26 am Better to flip normals. For such a mesh all normals should go into the same direction.
This mesh may be generated by hand at the old time, so they didn't pay too much attention to the normal.

Does it affect fea?
It should not. I have not had any so far. But you never know ... May be other had. I do not know. Thus it is best to not have them.

BTW: I have even seen commercial quite expensive FEA packages still create meshes with flipped normls.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Help with solvers (Nastran)

Post by bernd »

you could try this:

- create a mesh object from it
- analyse and repair the mesh object (including normal directions)
- create a Part from it
- remesh with gmsh, use big minimal element size
paul18
Posts: 202
Joined: Sat Jul 19, 2014 7:44 pm
Location: France

Re: Help with solvers (Nastran)

Post by paul18 »

johnwang wrote: Thu Jul 02, 2020 4:44 am Does it affect fea?
yes it does: among other things Pressure or Excentricity are defined thanks to the element normal
Post Reply