|
[Sponsors] |
[adjointOptimisationFoam] dynamicMeshDict Fatal Error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 1, 2021, 05:29 |
[adjointOptimisationFoam] dynamicMeshDict Fatal Error
|
#1 |
Member
mCiFlDk
Join Date: Feb 2020
Posts: 60
Rep Power: 6 |
Dear foamers,
As I'm aware that this module is not widely used, I'll explain the issue the best I can but straight to the point. There are 2 operation modes provided by this module: singleRun (to calculate sensitivity maps, similar to U or p surface maps) and steadyOptimisation (to modify the mesh based on those maps). The differences between their setup are mainly 2:
In my case, any singleRun sim works perfectly, but when I try to imitate the tutorial provided, HTML Code:
$FOAM_TUTORIALS/incompressible/adjointOptimisationFoam/shapeOptimisation/motorBike Code:
( ... ) # First cycle worked * * * * * * * * * * * * * * * * * Optimisation cycle 2 * * * * * * * * * * * * * * * * * Adjoint solver adjSolver1 lift : 0.395253 Weighted objective : 0.395253 Using steepest descent for the first iteration maxAllowedDisplacement/maxDisplacement of boundary 0.05/2.267379 Setting eta value to 0.0220519 [0] [2] [2] [2] --> FOAM FATAL ERROR: (openfoam-2012[3] [3] [3] --> FOAM FATAL ERROR: (openfoam-2012) [3] Attempting to replace controlPointsMovement with a set of different size [1] [1] [1] --> FOAM FATAL ERROR: (openfoam-2012) [1] Attempting to replace controlPointsMovement with a set of different size [1] [1] [0] [0] --> FOAM FATAL ERROR: (openfoam-2012) [0] Attempting to replace controlPointsMovement with a set of different size [0] [0] From void Foam::volumetricBSplinesMotionSolver::setControlPointsMovement(const vectorField&) [0] in file ) [2] Attempting to replace controlPointsMovement with a set of different size [2] [2] From void Foam::volumetricBSplinesMotionSolver::setControlPointsMovement(const vectorField&) [2] in file dynamicMesh/motionSolver/volumetricBSplinesMotionSolver/volumetricBSplinesMotionSolver.C at line 136. [2] FOAM parallel run exiting [2] ( ... ) # Error keeps on going saying the same I hope any of you have faced this similar issue, since I'm a bit desperate with it. I attach the optimisationDict and the dynamicMeshDict in case you find them useful. Thanks in advance |
|
July 5, 2021, 04:23 |
|
#2 |
Member
mCiFlDk
Join Date: Feb 2020
Posts: 60
Rep Power: 6 |
SOLVED:
Hi, For future adjointOptimisationFoam users I want to explain how I solved the issue. If you download the two dicts I uploaded, you'll see that under "sensitivities" section in the optimisationDict, I was using "surfacePoints" to calculate the sensitivities. At the same time, I was using the "volumetricBSplines" option under dynamicMeshDict to morph the mesh. It seems that, when you want to morph the mesh, you have to keep coherence between the options since there are incompatibilities between them. To solve it, I just changed the option under "sensitivities" section in the optimisationDict from "surfacePoints" to "volumetricBSplines", and that solved the issue. Hope it helps! |
|
August 15, 2022, 12:56 |
adjointOptimisationFoam problem
|
#3 |
New Member
rohi rohii
Join Date: Aug 2022
Posts: 1
Rep Power: 0 |
Thank you for explanation
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] ParaView command in Foam-extend-4.1 | mitu_94 | ParaView | 0 | March 4, 2021 14:46 |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 21:30 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |