|
[Sponsors] |
Flow Over Cylinder - Question about PARDISO Solver and Fortran |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2020, 23:43 |
Flow Over Cylinder - Question about PARDISO Solver and Fortran
|
#1 |
Member
Yusuf Elbadry
Join Date: Sep 2018
Posts: 65
Rep Power: 7 |
Dear All,
I have a question regards my Solver, I have build a FORTRAN code to solve the incompressible viscous N--S equations. at first I used dgetrf and dgetri to get the inverse of the pressure matrix and solve the pressure system by matrix multiplication. all went well and good, after that I tried to include the PARDISO solver so I can save memory when I use a very large grid. so I am solving the pressure system by PARDISO instead of dgetrf and dgetri and matrix multiplication. I compared the results at the first few time steps and it was identical, and tried that too at time step =100,1000,5000 and the solution was identical too. the problem appears when the time steps increases, it is like there is a cumulative error which increase with time. my grid is 20Dx10D , Re=200, Epsilon = 0.05, dt=0.005 there is a sample of the results in attachments. I can see the difference in numbers grows with time steps and I dont know why, although the solution was identical at the first time steps so there is no mathematical problem in the code. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Incompressible fluid flow solver | tchitchas | Main CFD Forum | 16 | December 14, 2017 18:37 |
Memory protection in OpenFOAM / combinig with FORTRAN | botp | OpenFOAM Programming & Development | 2 | February 15, 2016 12:25 |
CEL and fortran for multiphase flow | andyyuan | CFX | 0 | September 22, 2015 01:26 |
multi-dimensional dynamic array allocation for multi-block solver using fortran | mano | Main CFD Forum | 4 | June 25, 2012 21:01 |
2-D Euler Solver for compressible flow in Matlab | Volkan | Main CFD Forum | 1 | October 28, 2007 01:40 |