Skip to content

Problems with cyclic patches #64

@FranzBangar

Description

@FranzBangar

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions