-
Notifications
You must be signed in to change notification settings - Fork 30
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
Unable to write grid #80
Comments
It looks like the function |
@sseraj, that is right. The |
Thank you for the prompt response. |
No, you can't. There is no easy way to directly output the volume mesh without calling the primal solver. |
Do you suggest any other way of morphing mesh that has good results as IDWarp? |
|
Sorry, I don't understand what you mean by deform the mesh. I am using dafoam's docker container but the case I shared is for plain OpenFOAM with no optimization. My goal is not to optimize the geometry but rather deform it at specific surfaces with corresponding known nodal/ FFD location. |
Thank you for the reference I am also attaching the runscript for reference Thank you |
@sseraj Also can I ask if there is any docker image with IDWarp besides DAFoam? |
The MDO Lab docker images also include IDWarp, but the deprecated function call will still be in that image. We will try to update the code soon. |
Thanks for bringing this up. It is on my todo list and I will address it soon. |
@friedenhe |
Your run script looks OK, I suspect the issue is in the design variable json file. I suggest you load a json file that has only one shape variable that is non-zero, and then gradually add more non-zero design variables for debugging. |
moved to pyOFM, fixes mdolab#80
* fix writeVolumeMeshPoints moved to pyOFM, fixes #80 * black formatting --------- Co-authored-by: sseraj <sseraj@umich.edu>
Description
I have an cube OpenFOAM mesh and tried to deform top and side faces by x1.05 to test if idwarp works.
But I am getting an error at the end of the run. I am attaching the case directory with .py file for reference.
OF_idwarp.zip
Steps to reproduce issue
Current behavior
Python is throwing error that
Expected behavior
It should've changed the polyMesh in OpenFOAM directory
Code versions
The text was updated successfully, but these errors were encountered: