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

Combine Multiple Bodies and Export as NEMOH.dat File #39

Open
MShabara opened this issue Mar 6, 2024 · 1 comment
Open

Combine Multiple Bodies and Export as NEMOH.dat File #39

MShabara opened this issue Mar 6, 2024 · 1 comment

Comments

@MShabara
Copy link

MShabara commented Mar 6, 2024

Issue Description:
After combining four bodies written in NEMOH.dat format (attached) and exporting the resulting body as a NEMOH.dat file, I encountered a segmentation fault error when attempting to run NEMOH. The specific error message received is:

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Additional Context:
Exporting the combined bodies as STL, then loading and re-exporting them as NEMOH.dat files works without errors, albeit with changes to the mesh.

How can I export the combines mesh files without the need to do the export as STL step.

NEMOH_Meshes.zip

@izabala123
Copy link
Collaborator

Hi Mohamed

On checking the model, I see that it has large holes under the water, and also at the level of the free surface. This could cause problems for a solver. Apart from this, the generated meshes do not seem to have any problems. The only differences between the .stl and the .dat from Nemoh, is that the .stl only supports triangles, and the .dat supports symmetry. It's just a guess, but maybe the combination of these holes, with the symmetry, has caused Nemoh to fail.

image

Best regards
Iñaki

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