Yukai 0 Report post Posted June 28, 2024 Hi! Normally, the results of using coupled openfoam to calculate resistance in CAESES optimization and pulling out the optimized shape separately for openfoam resistance simulation will be the same? (Assuming all configuration settings are the same) The resistance results currently calculated during optimization are different from the results obtained when I took the optimized model out separately and used openfoam calculations (without CAESES coupling and then performed Opemfoam simulation). But all configurations and models are the same. What might be the problem? Thanks for your help!!! Best Regards YuKai Share this post Link to post Share on other sites
Simon Hauschulz 0 Report post Posted June 28, 2024 HI YuKai, yes, it does not make a difference if you run the OpenFOAM simulation from CAESES or directly from the command line. The only possible explanation that I can think of is that the two simulations converged at different states. For example, in one simulation the flow is attached to the geometry and in the other it is seperated. But that has nothing to do with CAESES and only depends on your simulation setup. Ideally, you want to have the same result every time you run a simulation with the same geometry and configurations. One solution could be to increase the mesh size to have a higher resolution in regions where the flow changes a lot (e.g. seperation points). Best regards, Simon Share this post Link to post Share on other sites
Yukai 0 Report post Posted June 28, 2024 12 minutes ago, Simon Hauschulz said: HI YuKai, yes, it does not make a difference if you run the OpenFOAM simulation from CAESES or directly from the command line. The only possible explanation that I can think of is that the two simulations converged at different states. For example, in one simulation the flow is attached to the geometry and in the other it is seperated. But that has nothing to do with CAESES and only depends on your simulation setup. Ideally, you want to have the same result every time you run a simulation with the same geometry and configurations. One solution could be to increase the mesh size to have a higher resolution in regions where the flow changes a lot (e.g. seperation points). Best regards, Simon HI Simon thank you for your reply I'll check my configuration settings again and set the grid size Thanks for your help!!! Best Regards YuKai Share this post Link to post Share on other sites