-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fluidity advection 2d #174
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
a143110
to
22a24a3
Compare
This comment was marked as resolved.
This comment was marked as resolved.
bd3c650
to
dc4de76
Compare
Tracked it down: docs failure is still caused by gmsh import, the workaround from 2d30d91 doesn't fix it. Since the gmsh package is so much trouble I'll just move it to an optional dep and make the mesh generation functionality unavailable by default. |
de1af2c
to
82f19db
Compare
d6a98d0
to
a4e866c
Compare
Manual exclusion of the |
4106f86
to
2ee5e3f
Compare
Fluidity now seems to produce the correct results. More on this later today. Might want to squash some of this stuff before merge. |
The mesh generator relies on gmsh which is installed as an optional dependency. `import gmsh` crashes the pdoc github runner though for some reason so needs to be excluded. The old h5part reader script is removed and replaced with a first-class CLI tool as well, which makes testing easier.
The default, generated by `@dataclass`, is not useful here because of the complicated data structure.
- `add_dim` for converting from e.g. a 2D matrix to a 3D version - `remove_dim` for converting from e.g. a 3D matrix to a 2D version They also work for vectors or arbitrary-dimension ndarrays.
And modify simple shear `dudz_pathline` test to use the same parameters.
0fb296b
to
d92aa82
Compare
A few cleaning chores I missed in #174.
A few cleaning chores I missed in #174.
Add fluidity advection example and simple builtin mesh (gmsh) generation.