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

Code solution needs better grid than COMSOL

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2019, 05:54
Default Code solution needs better grid than COMSOL
  #1
Senior Member
 
Join Date: Jan 2018
Posts: 123
Rep Power: 6
Moreza7 is on a distinguished road
Hi,
I wrote a code to solve a 2d lid-driven cavity using SIMPLE algorithm.
The grid is 50x50 and the Reynolds number is 1000.

Then, I simulated the same problem with the same grid using COMSOL and noticed that the results are a bit different.

I need to use a 100x100 grid for the code to get the same results of COMSOL's solution with a 50x50 grid!

Why is this happening?

My code using a 50x50 grid:



COMSOL using a 50x50 grid:




My code using a 100x100 grid:
Moreza7 is offline   Reply With Quote

Old   July 8, 2019, 06:01
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,152
Rep Power: 66
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Before any discussion, post the plots of the variables corresponding to the classical literature for this problem
FMDenaro is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Non-Zero exit code of: 2 KUAlex CFX 17 November 26, 2019 22:19
general ARCHITECTURAL structure of the code of a CFD code mecobio Main CFD Forum 0 August 12, 2013 08:04
The FOAM Documentation Project - SHUT-DOWN holger_marschall OpenFOAM 242 March 7, 2013 12:30
Code for the solution of two dimensional stefan pr yang Main CFD Forum 0 October 8, 2004 04:30
Open source CFD code development, possible? Dr. Yazid Bindar Main CFD Forum 27 July 18, 2000 00:18


All times are GMT -4. The time now is 19:17.