Welcome to the forums. Please post in English or French.

You are not logged in.

#1 Re: Code_Aster usage » simple frame » 2011-02-06 15:36:02

Yes Apalazzi!! you are right.
I did it the way you say and it works as well.

thanks forum for your help!

#2 Re: Code_Aster usage » simple frame » 2011-02-05 15:35:02

any way, here's how i generated the geometry:
P1 = geompy.MakeVertex(0, 0, 0)
P2 = geompy.MakeVertex(165, 0, 0)
P3 = geompy.MakeVertex(409, 0, 0)
P4 = geompy.MakeVertex(575, 0, 0)
P5 = geompy.MakeVertex(575, 336, 0)
P6 = geompy.MakeVertex(409, 336, 0)
P7 = geompy.MakeVertex(165, 336, 0)
P8 = geompy.MakeVertex(0, 336, 0)
P9 = geompy.MakeVertex(287, 168, 0)
Line_1 = geompy.MakeLineTwoPnt(P1, P2)
Line_2 = geompy.MakeLineTwoPnt(P2, P3)
Line_3 = geompy.MakeLineTwoPnt(P3, P4)
Line_4 = geompy.MakeLineTwoPnt(P8, P7)
Line_5 = geompy.MakeLineTwoPnt(P7, P6)
Line_6 = geompy.MakeLineTwoPnt(P6, P5)
Line_7 = geompy.MakeLineTwoPnt(P2, P9)
Line_8 = geompy.MakeLineTwoPnt(P9, P6)
Line_9 = geompy.MakeLineTwoPnt(P3, P9)
Line_10 = geompy.MakeLineTwoPnt(P7,P9)
then i meshed and created the groups in SMESH module,


#3 Re: Code_Aster usage » simple frame » 2011-02-05 13:13:22

thanks tcdonley,
that did it!

but does the error indicates that??

i would expect, "orphelis nodes" or "rigid body motion" for this mesh error.


#4 Code_Aster usage » simple frame » 2011-02-05 00:01:23

Replies: 7

Hi forum!!

could same one explain why does my simulation ends with:

   ! <EXCEPTION> <FACTOR_21>                                          !
   !                                                                  !
   ! (Solveur linéaire LDLT ou MULT_FRONT) Matrice non factorisable ! !
   !   On sait en plus que:                                           !
   !     - pivot est vraiment nul à la ligne 241                      !
   !     - pour le noeud N37 et la composante DX                      !

this should be a realy easy problem...

i'm posting my med, comm, and mess files. just in case...

thanks in advance,

#5 Re: Salome-Meca usage » Axis Problem » 2011-01-31 17:18:48

i was far from that explanation.

i thought mesh would plot the nodes exactly over line (y=mx + b)...

thanks !

#6 Salome-Meca usage » Axis Problem » 2011-01-31 12:58:02

Replies: 2

Dear All,

i've modeled a shape (closed deposit) in the space XY.
there were two edges with X=0. with DDL Impose DX=0 and DY=0.

when i run the solver I get an error stating same nodes get DX<0. which is invalid for an Axis simulation.

i've shifted the hole thing 1unit to the right. so that the edges would now be X=1. and everything worked.

is there a reason for this??

rui simoes

ps. Pythons in attchment

#7 Re: Code_Aster usage » astk status » 2011-01-19 18:55:30


didn't try this:"to check the" interactive follow up" box", because it doesnt work in salome...

but thanks for your help, i'll try the tips!

#8 Code_Aster usage » astk status » 2011-01-19 16:53:15

Replies: 4

Hi all,

when i run the job from astk, how do i check the current job status??
still running or stoped.. or what ever..


ps. usualy i look at the cpu performance (top command in a text window), but that's not very pratical nor correct is it?

#9 Re: Salome-Meca usage » mixed mesh » 2011-01-12 12:13:00


i've now installed new SALOME_MECA 2010.2,
PEASEANT is now working.


#10 Re: Salome-Meca usage » mixed mesh » 2011-01-11 18:00:48

Ok, it works. although i am not sure how the connection is made.

the problem, the reason the case would not run, nor did it emit any error (i couldnt even open the comm with eficas), aparently was due to the peaseant charge.

eficas and my code aster don't like it... dont know why.


#11 Re: Salome-Meca usage » mixed mesh » 2011-01-11 15:36:14


created a 2 wires L shape.
created link node group  with 2 nodes (just like claus did)
created mesh
used the Liaison_solid..

it worked, after all!!!
think there was samething wrong with previous comm file.

now i'll try with my original problem.

#12 Re: Salome-Meca usage » mixed mesh » 2011-01-11 12:42:41


deleted the flasheur and still doesnt run.
besides CA runs other cases, simpler ones.

i'll create another case and test. i'll return with news.


#13 Re: Salome-Meca usage » mixed mesh » 2011-01-11 01:26:00

yes you are right! there are two nodes in each liaison group, one for solid one for cable. thats much better.

i'm now able to mesh the compound (solid+edge), create the link_node_group (just like you did, two nodes one in each element),
believe i understood your comm file, but still i can't run my case.

kind of weird...

every time i run the case, i dont get a resu file, and my mess files ends with a different error, like:
every time a different one. i wonder what does that mean.

i've re-run the postinstall.py. (though it might be a corrupted CA or SALOME), really don't know.

i'm attaching the files, maybe you can take a look.

ps. cant attach the mesh... size limitation i assume. could i send the mesh to an email?

#14 Re: Salome-Meca usage » mixed mesh » 2011-01-10 13:12:53

still working... smile

any way in you example,
i thought that the "liaison1" would be a group of one node in the cable, and liaison2 a node group in the box... but it isn't, they are both in the cable.

how can CA link the models there??
or does CA analise if there are more than one node in the same place and elimimate one of them, leaving the model connected??

back to CA..

#15 Re: Salome-Meca usage » mixed mesh » 2011-01-10 11:13:35

thanks claws!

yesterday i couldnt do this in eficas:


but i do think this should solve my problem.
i'll try to test it till the end of today. then i'll post my results.

i may have a trouble with the meshing fase, but i'll try once more.


#16 Re: Salome-Meca usage » mixed mesh » 2011-01-10 01:24:06


just to make it easier i built two wires (geo) with one coincident point.
so i would connect to beams insted of a solid and a beam.

1st) i tried to read one mesh at a time, and then assemble the mesh (asse_mesh). no good, since i had only groups of nodes, and Asse_mesh requires Groupe_ma...

2nd) i tried having a affe_modele for each mesh, but it didn't work either. i couldn't really understand how to solve it. probably i cant have two models, can i??

3rd) finnaly i'm tring to affe both meshes inside one affe_modele,

problem #1, affe_modele and affe_material, they both require a mesh as input, and i have two. which one should i use??
since i can assign a modele, i supose i can use either meshes. but i get an error stating i dont have Mail1 inside Mail1...
problem #2, i cant realy understand the liason_solid. i cant state 2 group_nodes.

could you send me an mixed mesh example? or at least a link to one?
with liason solid would be great, since thats the case.


#17 Re: Salome-Meca usage » Weekly Puzzle #6 (Year End Edition!) » 2011-01-08 16:27:46


this is really close to programming...

i think the salomes geometry gui is kind of tough to use, compared to solidwork i use daily.

althou this is a great feature to have in salome, i'll save my efforts for meshing and Analising puzzles.

greetings to all, and happy 2011.

#18 Salome-Meca usage » mixed mesh » 2011-01-08 16:22:09

Replies: 12

Hi all,

can someone point a mesh example, where both 3D and beams coexist?

i have a complex geometry, which i believe i could Analise with a simple shell and a couple of beams.

I've build a compound with a solid (future coque) and wire (future beam).
but when i try to mesh it:
1st, which hypothesis should i use??
2nd, only Netgen1D2D3D, works. (does it?). but when i do "show only" this mesh, i dont see the beam element.

i could creat 2 meshes, but how do i load them in the comm file??

rui simoes

ps. i've tried to sew it too...

ps. this code works, but... still testing.

ASSE_MAILLAGE... #use "collage"

not sure if i am able to affe_modele with different models (beam and shell)...
i'll post my results

#19 Re: Code_Aster usage » teste case » 2010-12-31 16:03:55

thanks claus!!!

the difference was, you used force_nodal and i was using a force_contour applied to an edge.

i thought this contour force, would divide the force by the edge length and minor the local deformation and increase in stress...
apparently i was wrong! changed it to force nodal and there it was, SAME RESULT as you and as Ansys.

thanks again for your help!

ps. happy new year!

#20 Re: Code_Aster usage » teste case » 2010-12-31 01:53:14

Hi Claus,

could you post me your geo+mesh+comm??

cant reach the same results..


#21 Code_Aster usage » teste case » 2010-12-30 18:58:13

Replies: 4

Hi All,

as i was doing same simple exercises to compare results from Ansys to Code Aster, I found this doc:
http://www1.ansys.com/customer/content/ … a_vm90.pdf

if you look to case VM5, they state the stress at mid-lenght should be 8,333 psi.
i've done the same exercices in Salome Meca, but I cant get the same results.
done it with 2D_plane and 3D solids, both solutions reaching the same results, witch are .59in max displacement, and 50.5kpsi for max stress (von mises).

how came the results are so different??
i belive my solution has converged OK. tested it with diferent meshes and they all came to the same results.
would ansys state a stress witch is not the maximum??

i'll try to attach my files.
rui simoes

#22 Re: Code_Aster usage » How to specify the thickness » 2010-12-30 17:18:06

Hi Mr Proix,

could you detail this a little more?

for instance,
a beam was analised as D_Plan, was found to have a 1mm displacement at the edge.

but the beam was not 1 unit thick, but 2.

sort of having two unit thick beams side by side resisting the same charge.

am i suppose to divide the 1mm displacement by the two units?
what about the stresses?
can i assume twice the area so half the stress?

is this correct?
rui simoes

#23 Re: Salome-Meca usage » Which "Maille" » 2010-12-27 23:45:22

thanks Mr Claus,

clearer now.

ps. I meant "AFFE_MODELE".

#24 Salome-Meca usage » Which "Maille" » 2010-12-27 18:54:34

Replies: 2

Dear All,

when one uses SMESH (module in Salome) to mesh an imported solid,

which maille (tetra4 tetra10 etc etc) does one get, when:

one uses "Automatic Tetrahedralization".??
one uses "Automatic Hexahedralization".??
or what ever other options available...

not sure if i understood the affe_mode.
this keyword should be used to define one, but SMESH already defines one for me?
when we use "MECANIQUE" + "3D", we don't define a maille do we, code aster uses the SMESH one?
is this it??


#25 Re: Salome-Meca usage » Weekly Puzzle #5 » 2010-12-19 00:20:54


it didnt work in caelinux either.

for those who may want to take a look, just drop me an email.