CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Flow Over Cylinder - Question about PARDISO Solver and Fortran

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 7, 2020, 23:43
Default Flow Over Cylinder - Question about PARDISO Solver and Fortran
  #1
Member
 
AeroSonic's Avatar
 
Yusuf Elbadry
Join Date: Sep 2018
Posts: 65
Rep Power: 7
AeroSonic is on a distinguished road
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.
Attached Images
File Type: png p1.png (89.6 KB, 13 views)
File Type: png p2.png (84.2 KB, 12 views)
File Type: png p3.png (60.7 KB, 15 views)
File Type: png p4.png (58.3 KB, 14 views)
File Type: jpg p5.jpg (126.3 KB, 9 views)
AeroSonic is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 14:57.