Hi,
Just to thank you for your answer, it helped me!
Regards,
Jean-Philippe
From: gidlist-admin at gid.cimne.upc.edu [mailto:gidlist-admin at gid.cimne.upc.edu] On Behalf Of Enrique Escolano
Sent: December 12, 2007 5:32 AM
To: gidlist at gid.cimne.upc.edu
Subject: Fw: [GiDlist] Meshing two domains with commom interface
Hello,
Sorry by the delay but the GiD list had several problems.
Do you have two approaches:
1- A single surface shared by both volumes
2- Two different surfaces, and some restriction to create the ‘same nodes’ for this surfaces (two nodes but in the same location)
I recommend you the first approach because it can be difficult to handle a complicated shape with overlapped entities.
(in any case you can try to force the same mesh creating a GiD contact volume)
The problem for you is the definition of conditions.
Instead to use the same condition name for both surfaces, maybe you can declare two different conditions, something like this
CONDITION: Surface_C1
CONDTYPE: over surfaces
CONDMESHTYPE: over face elements
CANREPEAT: No
QUESTION: Some_Field
VALUE: 0
…
END CONDITION
CONDITION: Surface_C2
CONDTYPE: over surfaces
CONDMESHTYPE: over face elements
CANREPEAT: No
QUESTION: Some_Field
VALUE: 0
…
END CONDITION
Note the line
CANREPEAT: No
Because this declaration (is the default option), this condition can’t be repeated twice on th same entity. If you try to assign again, the previous one is ovewritten.
Another option is to declare only one condition, but declare that can be repeated multiple times over the same entity, something like this
CONDITION: Surface_C
CONDTYPE: over surfaces
CONDMESHTYPE: over face elements multiple
CANREPEAT: Yes
QUESTION: Some_Field
VALUE: 0
…
END CONDITION
Regards
Enrique Escolano
----- Original Message -----
From: Marcotte, Jean-Philippemailto:Jean-Philippe.Marcotte at imi.cnrc-nrc.gc.ca
To: gidlist at gid.cimne.upc.edumailto:gidlist at gid.cimne.upc.edu
Sent: Monday, December 03, 2007 6:22 PM
Subject: [GiDlist] Meshing two domains with commom interface
Hi all,
I’d like to mesh two domains, let say domain1 and domain2 that are side by side (both domains have
a common interface, there is no space between the boxes), as follow:
domain1 domain2
/ / /|
/_______ /_______ / |
| | | |
| | | /
|_______ |_______ |/
common
interface
I would like to impose boundary condition on both common faces, but in the same time I want the
mesh to be the same at the interface (same surface mesh).
If I generate the mesh directly, the two volumes are meshed independently and the surface meshes at
interfaces are not necessarily the same.
To make sure that I have the same mesh at interface, I collapse the model so that one of the common
surfaces is deleted. But now I can not impose anymore the two surface boundary condition I need,
since I only have one surface left.
Note: In other mesh software I used, the way I was solving this problem was to collapse the common
surfaces, then create the mesh, then copy the mesh of domain2 to create new interface elements
(allowing duplicate entities) and then remove old mesh of domain2… Then I have two new “independent”
meshes with same interface elements and I can apply boundary conditions of each domain… I tried the
same method in GiD, but once I have the new mesh, I is difficult to apply boundary condition on elements
faces.
Does anyone have a suggestion to help me?
Thanks!
Jean-Philippe Marcotte
Agent de recherche | Research Officer
Tél. | tel. (450) 641-5285 Fax (450) 641-5106
Courriel | E-mail : Jean-Philippe.Marcotte at cnrc-nrc.gc.camailto:Jean-Philippe.Marcotte at cnrc-nrc.gc.ca
Institut des matériaux industriels | Industrial Materials Institute
Conseil national de recherches Canada | National Research Council Canada
75, de Mortagne, Boucherville, Québec, Canada, J4B 6Y4
Gouvernement du Canada | Government of Canada
-------------- next part --------------
An HTML attachment was scrubbed…
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20080123/d8aa9ce9/attachment.htm