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

Problems with cyclic patches #64

Open
FranzBangar opened this issue Dec 1, 2024 · 0 comments
Open

Problems with cyclic patches #64

FranzBangar opened this issue Dec 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@FranzBangar
Copy link
Member

Description

A completely legit mesh fails when creating cyclic patches; turns out
A discord user

What To Do

Increase precision of output in vector_format in constants.py (workaround and a possible bugfix in next release)

def vector_format(vector) -> str:
    """Output for point/vertex definitions"""
    return f"({vector[0]:.15f} {vector[1]:.15f} {vector[2]:.15f})"

Beware

Make sure this doesn't break something else; if not really necessary, don't use that precision as it will clutter blockMeshDict considerably.

@FranzBangar FranzBangar added the bug Something isn't working label Dec 1, 2024
@FranzBangar FranzBangar self-assigned this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant