Skip to content

Rectangular member and intersection meshing#71

Closed
yqliaohk wants to merge 22 commits intoNLRWindSystems:devfrom
yqliaohk:meshing_new
Closed

Rectangular member and intersection meshing#71
yqliaohk wants to merge 22 commits intoNLRWindSystems:devfrom
yqliaohk:meshing_new

Conversation

@yqliaohk
Copy link
Copy Markdown
Contributor

@yqliaohk yqliaohk commented Apr 14, 2025

Purpose

This PR is to enable more meshing capabilities in RAFT.
One test is added in WEIS.

Type of change

What types of change is it?
Select the appropriate type(s) that describe this PR

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.

Checklist

Put an x in the boxes that apply.

  • I have run existing tests which pass locally with my changes
  • I have added new tests or examples that prove my fix is effective or that my feature works
  • I have added necessary documentation

MKlekkala and others added 17 commits February 7, 2025 09:58
Output in form of .gdf format is working fine, where as .pnl is giving the errors. still working on this issue.
The nodes, vertices and panels are properly handeled.
now using for rectangular member and the dimensions (widths and heights) are hard-coded. need to integrate with the .yaml file
YAML file updated to account intersection mesh and extensions for the platform members
YAML file updated to account intersection mesh and extensions
to create Intersection mesh for members
CalcBEM function updated to account intersection mesh
file to create intersection mesh for the members
Comment thread raft/IntersectionMesh.py Outdated
print(f"Error loading YAML file: {e}")
return None

'''def set_values_from_yaml(yaml_data):
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@MKlekkala Is this commented out part still needed?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can delete that part. If someone is using IntersectionMesh.py alone, then we may need that but if is integrated with RAFT, we don't need that part.

Comment thread raft/IntersectionMesh.py Outdated
try:
cylinders = meshMember(
geom, cyl.get("heading", [0]), cyl["rA"], cyl["rB"], cyl.get("radius"),
mesh_size=1, member_id=member_id,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@MKlekkala What does this mesh_size do?

@yqliaohk yqliaohk marked this pull request as ready for review April 23, 2025 21:09
@yqliaohk yqliaohk changed the base branch from dev to master May 2, 2025 16:58
@yqliaohk yqliaohk changed the base branch from master to dev May 2, 2025 16:58
@yqliaohk yqliaohk closed this May 2, 2025
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