Replies: 2 comments 2 replies
-
In this case, for example, the Angle of attack should not be adjustable as a design variable, but according to pyDAFoam, "if no alpha is added in DVGeo.addGeoDVGlobal, we can NOT use parallelToFlow.". But lift should always be perpendicular to the incoming flow, and drag should always be parallel to the incoming flow. So how do I set up optimization in the case ?Could you please tell me which areas need to be modified? Or is there a complete and operational case for me to learn from? I really need your help, I have tried many times but haven't been able to solve the problem well. Thank you so much! |
Beta Was this translation helpful? Give feedback.
-
Please elaborate on what you try to do with the varyingVelocityInletOutlet BC. I feel that this BC is probably not what you want to use. |
Beta Was this translation helpful? Give feedback.
-
I also want to ask the question of unsteady optimization, I saw that DAfoam implemented "New boundary conditions for the oscillating velocity from far fields" and gave an example: "myPatch
{
type varyingVelocityInletOutlet;
U0 10;
URate-0.2;
flowComponent 0;
normalComponent 1;
alpha0 0;
alphaRate 0.1;
}"
But I don't know how to modify the file is right, I modified "0 _orig under" file "U", the result is an error "Unknown patchField type varyingVelocityInletOutlet for patch type patch". What should I do with this, please? I don't see any tutorials on the website? Thank you for answering the question!
pitch.zip
Beta Was this translation helpful? Give feedback.
All reactions