Conformal volumetric mesh creation by wrapping a given volumetric mesh
I have created a volumetric liver mesh by reading two csv files where allnodes.csv file consists of node IDs and coordinates while elements.csv consists of element IDs and node connectivity using meshio package.
Now what I want is that I need to wrap this volumetric mesh in a box (I have wrapped with a box. See the attached image) and need to fill the region between two surfaces (i.e. liver surface and box surface) such that generating another volumetric mesh as a whole. I want to do this without changing the volumetric liver mesh (i.e. without changing the tetra, triangles, etc of the liver).
In addition to that, I need to represent this whole mesh with two physical entities, one is to hold the entire volume and the other is to hold the liver which is inside of the box (i.e. physical tags 1 and 2)
Is this possible? If so how can I do that? Can you please elaborate on an example or steps ?
Finally, I need to create a conformal mesh so that I can apply some set of deformations to the whole mesh using VTK.
Moreover, as an alternative approach is there having a way to read these CSVs directly using the gmsh and then create this kind of conformal mesh ? If so how ?
I herewith attached the volumetric liver (i.e. .msh file), .geo file and two CSV files for your further reference. If you are referring the attached CSV files please note that the starting index is one and not zero for node ids.