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:
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
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
Get latest updates about Open Source Projects, Conferences and News.