

Public Member Functions | |
| def | initialize (self) |
| def | setup (self) |
| def | add_dvgeo (self, DVGeo) |
| def | add_dvcon (self, DVCon) |
| def | solve_nonlinear (self, inputs, outputs) |
| def | linearize (self, inputs, outputs, residuals) |
| def | apply_linear (self, inputs, outputs, d_inputs, d_outputs, d_residuals, mode) |
| def | solve_linear (self, d_outputs, d_residuals, mode) |
Public Attributes | |
| DASolver | |
| run_directory | |
| discipline | |
| solution_counter | |
| DVGeo | |
| DVCon | |
| stateName | |
| residualName | |
| volCoordName | |
| localAdjSize | |
| psi | |
| runColoring | |
OpenMDAO component that wraps the DAFoam flow and adjoint solvers
Definition at line 232 of file mphys_dafoam.py.
| def initialize | ( | self | ) |
Definition at line 237 of file mphys_dafoam.py.
References DAFoamBuilder.options, PYDAFOAM.options, and TensorFlowHelper.options.
| def setup | ( | self | ) |
Definition at line 241 of file mphys_dafoam.py.
| def add_dvgeo | ( | self, | |
| DVGeo | |||
| ) |
Definition at line 295 of file mphys_dafoam.py.
References DAFoamSolver.DVGeo.
| def add_dvcon | ( | self, | |
| DVCon | |||
| ) |
Definition at line 298 of file mphys_dafoam.py.
References DAFoamSolver.DVCon.
| def solve_nonlinear | ( | self, | |
| inputs, | |||
| outputs | |||
| ) |
Definition at line 314 of file mphys_dafoam.py.
References DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, DAFoamSolver.DVGeo, DAFoamBuilder.run_directory, DAFoamGroup.run_directory, DAFoamSolver.run_directory, and DAFoamSolver.stateName.
| def linearize | ( | self, | |
| inputs, | |||
| outputs, | |||
| residuals | |||
| ) |
Definition at line 363 of file mphys_dafoam.py.
References DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, and DAFoamSolver.stateName.
| def apply_linear | ( | self, | |
| inputs, | |||
| outputs, | |||
| d_inputs, | |||
| d_outputs, | |||
| d_residuals, | |||
| mode | |||
| ) |
Definition at line 368 of file mphys_dafoam.py.
References DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, DAFoamSolver.localAdjSize, DAFoamSolver.residualName, and DAFoamSolver.stateName.
| def solve_linear | ( | self, | |
| d_outputs, | |||
| d_residuals, | |||
| mode | |||
| ) |
Definition at line 426 of file mphys_dafoam.py.
References DAFoamSolver._updateKSPTolerances(), DAFoamBuilder.comm, OptFuncs.comm, PYDAFOAM.comm, DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, DAFoamSolver.DVCon, DAFoamSolver.DVGeo, DAFoamSolver.localAdjSize, DAFoamSolver.psi, DAFoamSolver.residualName, DAFoamBuilder.run_directory, DAFoamGroup.run_directory, DAFoamSolver.run_directory, DAFoamSolver.runColoring, DAFoamSolver.solution_counter, and DAFoamSolver.stateName.

| DASolver |
Definition at line 244 of file mphys_dafoam.py.
Referenced by DAFoamSolver.apply_linear(), DAFoamFunctions.compute(), DAFoamWarper.compute(), DAFoamThermal.compute(), DAFoamFaceCoords.compute(), DAFoamForces.compute(), DAFoamSolverUnsteady.compute(), DAFoamFunctions.compute_jacvec_product(), DAFoamWarper.compute_jacvec_product(), DAFoamThermal.compute_jacvec_product(), DAFoamForces.compute_jacvec_product(), DAFoamSolverUnsteady.compute_jacvec_product(), DAFoamSolver.linearize(), DAFoamMesh.mphys_get_surface_size(), DAFoamMesh.mphys_get_triangulated_surface(), DAFoamSolver.solve_linear(), and DAFoamSolver.solve_nonlinear().
| run_directory |
Definition at line 247 of file mphys_dafoam.py.
Referenced by DAFoamSolverUnsteady.compute(), DAFoamSolver.solve_linear(), and DAFoamSolver.solve_nonlinear().
| discipline |
Definition at line 249 of file mphys_dafoam.py.
Referenced by DAFoamMesh.compute(), DAFoamWarper.compute(), DAFoamMesh.compute_jacvec_product(), DAFoamWarper.compute_jacvec_product(), and DAFoamMesh.mphys_add_coordinate_input().
| solution_counter |
Definition at line 251 of file mphys_dafoam.py.
Referenced by DAFoamSolver.solve_linear().
| DVGeo |
Definition at line 254 of file mphys_dafoam.py.
Referenced by DAFoamSolver.add_dvgeo(), DAFoamSolverUnsteady.add_dvgeo(), DAFoamSolverUnsteady.compute(), DAFoamSolver.solve_linear(), and DAFoamSolver.solve_nonlinear().
| DVCon |
Definition at line 257 of file mphys_dafoam.py.
Referenced by DAFoamSolver.add_dvcon(), and DAFoamSolver.solve_linear().
| stateName |
Definition at line 260 of file mphys_dafoam.py.
Referenced by DAFoamSolver.apply_linear(), DAFoamFunctions.compute(), DAFoamThermal.compute(), DAFoamForces.compute(), DAFoamFunctions.compute_jacvec_product(), DAFoamThermal.compute_jacvec_product(), DAFoamForces.compute_jacvec_product(), DAFoamSolver.linearize(), DAFoamSolver.solve_linear(), and DAFoamSolver.solve_nonlinear().
| residualName |
Definition at line 261 of file mphys_dafoam.py.
Referenced by DAFoamSolver.apply_linear(), and DAFoamSolver.solve_linear().
| volCoordName |
Definition at line 262 of file mphys_dafoam.py.
Referenced by DAFoamThermal.compute(), DAFoamFaceCoords.compute(), DAFoamForces.compute(), DAFoamThermal.compute_jacvec_product(), and DAFoamForces.compute_jacvec_product().
| localAdjSize |
Definition at line 268 of file mphys_dafoam.py.
Referenced by DAFoamSolver.apply_linear(), and DAFoamSolver.solve_linear().
| psi |
Definition at line 269 of file mphys_dafoam.py.
Referenced by DAFoamSolver.solve_linear().
| runColoring |
Definition at line 276 of file mphys_dafoam.py.
Referenced by DAFoamSolver.solve_linear().