First time here? Checkout the FAQ!
x
0 votes
ago by (120 points)
Hello,

I am working on a simulation in OpenCARP and I want to evaluate the model's behavior in a spherical geometry (i.e., a 2D geometry in a 3D space). I’ve seen that OpenCARP allows working with custom geometries, but I’m unsure how to create and use a spherical geometry within the software.

Are there any predefined surfaces for spherical geometries in OpenCARP, or do I need to create it in another software like MATLAB and then export it? If so, what file format should I use to import the geometry into OpenCARP and ensure it fits the simulation conditions?

Any guidance or examples on how to do this would be greatly appreciated.

Thanks in advance.

1 Answer

0 votes
ago by (220 points)
Hey!

There are 2 options.

1) You create the geometry with third-party software. In Gmsh for example you could export your geometry as a .vtk file and use meshtool to convert it to openCARP format. In the openCARP parameter file you set this geometry using the parameter meshname. Make sure the mesh dimensions are in micrometers.

2) For some simple geometries you can use mesher which is supplied with carputils. I suggest looking at the tissue examples on the openCARP webpage to familiarize yourself with this tool. I only found the mesh.SphereRegion method in carputils, but I think it is only used for tagging a mesh and not creating one.
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...