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

You are not logged in.

#1 2012-07-04 11:45:06

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 172

recover element by node/coordinates

I have two different meshes. One is 'embedded' in other however the nodes do not match. (Reinforced concrete modelling with 3D and beam elements).

Is there any way by which nodes can be forced to match?

I hope I make my question clear enough to understand.

Or if not this can anyone let me know if there is a possibility of identifying an element based on a point/node 'inside' the element but not belongs to it.

I am posting image here to explain my case.

Let us consider that in a mesh I have a tetrahedron with nodes A B C D.
I also have SEG2 element and one node corresponding to one such element is shown as N.

As shown in the diagram, the node N is inside the tetrahedron ABCD but not its part.

I want to know if there exist any command in code aster to 'recover' element ABCD knowing the node N or its coordinate.

Last edited by dbpatankar (2012-07-04 11:47:19)


Attachments:
CA_forum1.png, Size: 80.02 KiB, Downloads: 156

Offline

#2 2012-07-04 12:53:04

sébastien meunier
Member
From: EDF Lab Les Renardières
Registered: 2007-12-02
Posts: 286

Re: recover element by node/coordinates

Hello,

You should have a look at this document :

http://www.code-aster.org/V2/doc/defaul … .06.30.pdf

You should use proj_champ with projection='non'. .pjef_m1 is exactly what you want.

Regards,

Last edited by sébastien meunier (2012-07-04 12:54:21)


Sébastien Meunier - EDF Lab Les Renardières

Offline

#3 2012-07-04 15:15:16

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 172

Re: recover element by node/coordinates

Thank you very much for the reply.

However I am unable to understand the document  D4.06.30 which you mentioned.

My python understand is very very limited and probably thats making trouble here.

Moreover I would also like to share the final goal to achieve. I have separate meshes for concrete and reinforcement and I wish to force these meshes to have common nodes at least at a few places. To achieve this I want to extract the 'concrete mesh element' in which 'reinforcement beam element' is embedded.

Once I get this I plan to delete those mesh elements and create new concrete mesh elements such that the reinforcement beam element is part of it. I hope to achieve this through a script. Once I have this modified mesh, I will combine both meshes and then run STAT_NON_LINE on it.

It would be really helpful for me if you can explain me the python part of the document.

I tried this :

chmp = PROJ_CHAMP(
		  PROJECTION='NON',
		  MAILLAGE_1=MAIL1,
		  MAILLAGE_2=MAIL2,
		  );


print dir(chmp);

print chmp.PJEF_NU;

But I didnt get any useful information out of it.

The comm file and two mail files which I used are attached to this message. (Just simple HEXA8 block with 4 SEG2 elements)

Last edited by dbpatankar (2012-07-04 15:42:34)


Attachments:
tmp2.zip, Size: 1 KiB, Downloads: 160

Offline