Replies: 1 comment
-
In general, using some workaround methods, I managed to do it through TACS. Non-obvious aspects of this approach: You must definitely define a problem, otherwise you cannot use the writeBDF method. FFD addPointSet accepts data in the format [[x,y,z],...,[x,y,z]], while Xpts0 is stored in the format [x,y,z,x,y,z,...,x,y,z]. Because of this, you need to perform list transformations for the input to addPointSet and for the input to SetNodes. You can override the grid node coordinates through the setNodes method of the problem object. Unfortunately, I couldn't find a similar method in the pyTacs class (apparently it doesn't exist). In general, for setting up FFD + bdf tasks, I'm attaching my resulting code. I'd be interested to learn about other approaches. Does anyone have any ideas?
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon!
Could you please tell me if there are any examples of how I can link an FFD and a BDF file to manipulate the geometry and save the modified BDF file? Without including optimization, just like it's done in the tutorial: https://mdolab-pygeo.readthedocs-hosted.com/en/latest/advanced_ffd.html.
Beta Was this translation helpful? Give feedback.
All reactions