Hi.
This is my first post, so sorry if this question as already answered, but
I've searched in the list and I didn't found anything useful for me.

I need to create a mesh in a box with different dimensions at each side. I
first create a mesh, and then I create a box of specified size at each side.
And I want tetrahedral elements. I do in this way:

===
Mesh xMesh;
MeshTools::Generation::build_cube(xMesh, nx, ny, nz, 0, xLength, 0, yLength,
0, zLength, TET4);

===

In my problem I must set values at specified points inside the domain.
Infact, I want that the user specify initial conditions at arbitrary
coordinates inside the domain, and then interpolate these data in all domain
itself.

 These points are generic, so there are not original grid points. For
example the user can specify different points with different values inside
the same mesh element (in theory the user does know nothing about the mesh).

 So, I must add these nodes manually to the mesh to make it coherent with
initial conditions. I've seen in the class documentation the add_node in the
member functions of Mesh class, but I've also seen add_point and
add_element, so I don't know how to use it, and I didn't see an example that
shows how insert a node manually inside the domain.

What I must to do, if I want to modify the mesh and adding nodes (with
consequent re-meshing) at specific coordinates?
Thanks in advance for your replies




------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to