Comments (7)
Hi, from the errorLog.txt it is seen that you have a very large continuity error just at the first iteration:
time step continuity errors : sum local = 0.000428673, global = 0.000428523, cumulative = 0
Later, pressure field diverges:
max/min p: 600000/-6952.36
I would recommend to change solver to PBiCGStab with DILU preconditioner, as well as to reduce target tolerance to 1e-8 and target relTol to 0.
If it doesn't work, then you can try to reduce order of spatial approximation by changing fvSchemes:
defaultAdvScheme uwpind;
defaultAdvSchemeV upwind;
After that you can try to avoid sharp initial pressure jump (max/min p: 600000/100709) -- you can start with small pressure difference 106000/100709 and then increase it during the simulation
If the error persists, you must post here you U/p/T BCs and adjoint equations
from hybridcentralsolvers.
Thanks for your tips, but unfortunately the error does not vanish.
here are the required files.
createFields.txt
pa.txt
T.txt
U.txt
Ua.txt
p.txt
PadjointShapeOptimizationFoam.txt
from hybridcentralsolvers.
Here i could see in each loop pressure is calculating 2 time, that's where density goes minus and causes crash.
errorLog2.txt
from hybridcentralsolvers.
Hello, it looks like there is a lot to be done with your custom solver. As the first step, can you post here LaTeX (PDF) or Doc file with derivation of equations?
from hybridcentralsolvers.
I want to use adjointShapeOptimization for a compressible flow.
adjointShapeOptimizationFoam.txt
createFields.txt
The default solver in openFoam is for incompressible flow, and uses SIMPLE algorithm.
I tried to remove simple solver loop and instead include pimpleCentral loop in adjointShapeOptimization.
Here is the derivation of the equations:
adjoint derivation equation.docx
Thanks in advance.
from hybridcentralsolvers.
PimpleAdjointShapeOptimizationFoam.txt
I tried to alter the solver, pEqn, UEqn and hEqn. now it is working, and goes some steps forward, but now the problem is that the temperature drops suddenly and rho goes to a big minus quantity, then it crashes.
errorLog.txt
from hybridcentralsolvers.
Hi, I think, you must add LTS support to your solver -- see https://github.com/unicfdlab/hybridCentralSolvers/blob/digitef-dev-1912/Sources/pimpleCentralFoam/pimpleCentralFoam.C and https://github.com/unicfdlab/hybridCentralSolvers/tree/digitef-dev-1912/Tutorials/compressible/LTS/ConvergingDivergingNozzle as examples.
After that, you have to try running your code w/o shape adjustment.
Also, if you use LTS, than maybe you have to add porosity alpha in temporal derivative term (I'm not sure)
from hybridcentralsolvers.
Related Issues (15)
- Is it correct to initialize this here and not before? HOT 1
- Termination in parallel, but not serial calculation HOT 27
- OpenFOAM v4>pisoCentral>tools>correctCentralACMIInterpolation Class HOT 1
- Openfoam-v1706 HOT 2
- pisoCentral OF6 HOT 2
- Some error when running parallel on OpenFOAM-v2212 HOT 9
- Max Mach number? HOT 1
- wallHeatFlux possibly does not work? HOT 7
- How to implement QGDFoam's readScNumbers.H to reactingPimpleCentralFoam? HOT 3
- compilation errors for OF2306 HOT 2
- stabilization problem HOT 3
- Issue with wedge domains HOT 5
- Compiling pimpleCentralFoam problem on openfoam v1912 HOT 8
- Trying with other geometries HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hybridcentralsolvers.