CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

adjointOptimisationFoam not converging

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 16, 2024, 08:34
Default adjointOptimisationFoam not converging
  #1
New Member
 
Elvis
Join Date: Jan 2024
Posts: 1
Rep Power: 0
Elvis_M is on a distinguished road
Hello everyone,
I use adjointOptimisationFoam to shape-optimize a geometry consisting of several cubes. The solver was slightly modified, the apparent porosity in the Navier-Stokes equation was removed. Compiling works and simulating other geometries also worked.

My problem is that the adjoint system of equations does not converge and always diverges after a few 1000 iterations (due to large continuity error). The primal system converges.

I have attached pictures of the primal and adjoint residuals.

I tried the following:
- Refine mesh
- Vary relaxation factors
- Increase cylinder diameter

I will also try do increase the cylinder length before and after the geometry.
Do you have any ideas what else I can try?

This is my fvSolution:
Code:
solvers
{
    "(p|pa)"
    {
        solver          GAMG;
        tolerance       1e-08;
        relTol          0.001;  // was 0.01	
        smoother        GaussSeidel;
    }

    "(U|Ua)"
    {
        solver          smoothSolver;
        smoother        GaussSeidel;
        nSweeps         2;
        tolerance       1e-08;
        relTol          0.01; // was 0.1
    }
}

SIMPLE
{
    nCorrectors 3;
	nNonOrthogonalCorrectors 0;
	momentumPredictor   yes;
}

relaxationFactors
{
    fields
    {
        p               0.1; // was 0.3
		pa              0.1; // was 0.2
        alpha           0.1; // was 0.1
    }
    equations
    {
        U                          0.1; // was 0.7
		Ua                         0.1; // was 0.3
    }
}
Thanks in advance,
Elvis
Attached Images
File Type: png Residuals adjoint.PNG (120.6 KB, 5 views)
File Type: png Residuals primal.PNG (75.9 KB, 5 views)
Elvis_M is offline   Reply With Quote

Reply

Tags
adjointoptimisationfoam, convergence, shape optimization

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Residuals not converging thorbo FLUENT 1 November 1, 2023 08:36
Moment monitor not converging in transient simulation saikath65 FLUENT 0 August 21, 2020 08:58
Temperatures not converging Dharma Vedula Main CFD Forum 3 April 20, 2019 10:47
acceptable converging? wales FLUENT 8 January 19, 2016 02:39
Wall scale not converging arunraj CFX 1 October 3, 2011 17:52


All times are GMT -4. The time now is 14:05.