Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize membrane from mesh file #12

Open
nhz2 opened this issue Oct 13, 2022 · 1 comment
Open

Initialize membrane from mesh file #12

nhz2 opened this issue Oct 13, 2022 · 1 comment

Comments

@nhz2
Copy link
Member

nhz2 commented Oct 13, 2022

Based on the manual I don't see a way of specifying a MEMBRANEFILE to initialize the membrane given a custom mesh.

@drelatgithub
Copy link
Member

drelatgithub commented Oct 13, 2022

It can be specified using property mesh in init-membrane, with (mesh file <filename>).

File format for multiple meshes:

numvertices          <--  for mesh 1
v0x v0y v0z          <--  vertex coordinates in floating point
v1x v1y v1z
...
t00 t01 t02          <--  0-based vertex indices in a triangle
t10 t11 t12
...
                     <--  empty line
numvertices          <--  for mesh 2
v0x v0y v0z
...
t00 t01 t02
...

...                  <--  more meshes

File mode initialization is not included in the docs because this usage was intended to be private and does not work when recreating input files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants