Skip to content

integrate geometry, surface and volume mesher #267

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

Conversation

feilin-flexcompute
Copy link
Contributor

@feilin-flexcompute feilin-flexcompute commented May 20, 2024

  • add version for surface mesher
  • add/modify key-value in meshers for DB
  • add examples for integration tests from geometry to simulation

@feilin-flexcompute feilin-flexcompute force-pushed the feilin/surf_from_geo_i/post branch from 8772e49 to 981349d Compare May 30, 2024 13:48
@feilin-flexcompute feilin-flexcompute changed the base branch from feilin/construction/surf_from_geo_i to UnderConstruction/SimulationInterface May 30, 2024 13:55
@feilin-flexcompute feilin-flexcompute force-pushed the feilin/surf_from_geo_i/post branch from 981349d to e5e2e8b Compare May 30, 2024 13:58
@feilin-flexcompute feilin-flexcompute marked this pull request as ready for review May 30, 2024 14:10
@feilin-flexcompute feilin-flexcompute marked this pull request as draft May 30, 2024 14:19
@feilin-flexcompute feilin-flexcompute changed the title add version to post method for surface and volume mesher integrate geometry, surface and volume mesher May 31, 2024
@feilin-flexcompute feilin-flexcompute marked this pull request as ready for review May 31, 2024 00:54
from flow360 import units as u


def createBaseParams_airplane():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create_base_params_airplane

also, why do we want this to be in the examples? We already have example on how to create Flow360Params. We can use this as second example. But other examples should not refer to this file. If they need to load example config, it needs to be loaded from file. Every example should be standalone runnable script

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as ariplane_case.py comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment on lines 41 to 47
class SurfaceMeshFileFormat(Enum):
"""
Surface mesh file format
"""

UGRID = "lb8.ugrid"
STL = "stl"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a test is needed for this class

@maciej-flexcompute maciej-flexcompute merged commit 7d9582d into UnderConstruction/SimulationInterface Jun 12, 2024
1 of 4 checks passed
benflexcompute pushed a commit that referenced this pull request Jun 17, 2024
integrate geometry, surface and volume mesher (#267)

* rebase to UnderConstruction/SimulationInterface

* use preprod env

* lint

* fix example

* fix

* finish csm->case using v1 and v2

* add example: csm geometry -> v2 mesher -> case

* finish egads and csm examples

* added cylinder

* add examples for 3rd party cylinder geometry

* fix

* address comments of case config in examples

* split cylinder into cylinder2d and cylinder3d

* split cylinder into 2d and 3d

* remove airplane and cylinder params

* fix examples for meshing

* fix unit test

* update

Update cached model to store all constructor function arguments (#318)

* Update cached model to store all constructor function arguments

* Fix pylint

* Fix warnings

added default values to service

bumped version

updates

added warnings to validate_model service

added length units to default params

updates to service integration

added custom constructor framework (#308)

updates

fixed volume mesh error

added private_attribute_constructor and private_attribute_input_cache

Formatting
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

Successfully merging this pull request may close these issues.

2 participants