Skip to content

Saving the Mesh after Parametrization #133

Closed Answered by A-CGray
AbhijithMoni asked this question in Q&A
Discussion options

You must be logged in to vote

Yes this is possible. You'll have to combine the steps from the two tutorials you linked to.

Basically, follow the same steps as the idwarp tutorial you linked, but then instead of updating the surface coordinates using this code:

# Modify the coordinates as required
newCoords = coords0.copy()
for i in range(len(coords0)):
    newCoords[i, :] *= 1.1

You will want to generate newCoords using the FFD following the steps in the MACH-Aero tutorial you linked to. The morphed surface coordinates you need to pass to idwarp are returned by the DVGeo.update function

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AbhijithMoni
Comment options

Answer selected by AbhijithMoni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #132 on December 04, 2023 15:37.