|
[Sponsors] |
November 20, 2018, 12:43 |
Multiple Inlets Adjoint
|
#1 |
Member
Massachusetts
Join Date: Jun 2015
Posts: 46
Rep Power: 11 |
Hello everyone,
I'm trying to modify the shapeOptimizationFoam in order to account for multiple inlets. In the original createFields.H file there is a line of code that is used to set a zero alpha at the inlet Code:
const labelList& inletCells = mesh.boundary()["inlet"].faceCells(); Code:
const labelList& inletCells1 = mesh.boundary()["inletLeft"].faceCells(); const labelList& inletCells2 = mesh.boundary()["inletRight"].faceCells(); Code:
zeroCells(alpha, inletCells1); zeroCells(alpha, inletCells2); I run the simulation and at the beginning I had this strange warning line and the simulation stopped at the first iteration of the adjoint problem. Code:
Reading field pa --> FOAM Warning : From function const Foam::HashTable<Foam::List<int>, Foam::word>& Foam::polyBoundaryMesh::groupPatchIDs() const in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 455 Removing patchGroup 'wall' which clashes with patch 6 of the same name. Thank you for your help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
Shape optimization doesn't converge - Adjoint log file | JPBLourenco | SU2 Shape Design | 0 | December 11, 2017 09:41 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
Multiple inlets problem | Jeff | Main CFD Forum | 2 | August 17, 2005 11:48 |
Multiple Inlets | Charlie V | FLUENT | 0 | May 28, 2001 03:29 |