|
[Sponsors] |
July 5, 2020, 02:10 |
fvm for unsteady term
|
#1 |
New Member
Jagan Mohan
Join Date: Dec 2019
Location: New York
Posts: 27
Rep Power: 7 |
Hello Friends, Greetings. I hope, you all are doing well. I'm trying to build an application in OpenFOAM. I'm starting from scratch as I think this is best way to learn what exactly happens behind screen. With all others details implemented into main function, compilation successful, lets focus on following.
for (int i = 0; i <= 10; i++) { solve ( fvm::laplacian(kTh, T) ); runTime++; runTime.write( ); } As you can see, I'm solving steady Laplace conduction equation with no source terms. ControlDict settings are timeStep is 1 (these are now steady iterations) with some startTime and endTime. 1. What I observe is in first step itself, final residual goes to e-6 and it says iterations 46. What are these iterations and where are they coming from? 2. In all subsequent steps, residual does not change at all and so called iterations are zero. 3. When we write Laplacian solver in Matlab using FV Method, we see a residual plot which decreases. Why are we not seeing such thing in OpenFOAM? 4. Also, when solver knows that residual is less than tolerance value, why does not it stop iterating? (Like we see in Matlab code). Thank you, Jagan Mohan. |
|
Tags |
fvm::ddt(), fvm::laplacian |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add Source term (2) for PYROLYSIS - reactingOneDim | Kummi | OpenFOAM | 10 | April 12, 2021 22:11 |
FVM Source term discretisation | vkoppejan | Main CFD Forum | 7 | November 29, 2015 10:26 |
Source term in OpenFOAM: fvc vs fvm | Sylv | OpenFOAM Programming & Development | 0 | November 20, 2014 07:39 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 16:45 |
FVM discretization of diffusion term on crvlnr gr | Michail | Main CFD Forum | 3 | March 14, 2008 07:52 |