Basics : Driven Cavity
This is the universally famous driven cavity case tested with the second order steady solver and for Re=1000.
https://www.dynaexamples.com/icfd/basics-examples/cfd1
https://www.dynaexamples.com/@@site-logo/LS-DYNA-Examples-Logo480x80.png
Basics : Driven Cavity
This is the universally famous driven cavity case tested with the second order steady solver and for Re=1000.
Fluid velocity fringes
*KEYWORD *TITLE *DATABASE_BINARY_D3PLOT *DEFINE_CURVE_TITLE *ICFD_BOUNDARY_NONSLIP *ICFD_BOUNDARY_PRESCRIBED_VEL *ICFD_CONTROL_GENERAL *ICFD_CONTROL_OUTPUT *ICFD_CONTROL_STEADY *ICFD_MAT *ICFD_PART *ICFD_PART_VOL *ICFD_SECTION *INCLUDE *MESH_SURFACE_ELEMENT *MESH_SURFACE_NODE *MESH_VOLUME *PARAMETER *END
$----------------------------------------------------------------------------- $ $ Example provided by Iñaki (LSTC) $ $ E-Mail: info@dynamore.de $ Web: http://www.dynamore.de $ $ Copyright, 2015 DYNAmore GmbH $ Copying for non-commercial usage allowed if $ copy bears this notice completely. $ $X------------------------------------------------------------------------------ $X $X 1. Run file as is. $X Requires LS-DYNA MPP Dev 114223 (or higher) with double precision $X $X------------------------------------------------------------------------------ $# UNITS: Dimensionless $X------------------------------------------------------------------------------ $X *KEYWORD *TITLE ICFD Driven Cavity *INCLUDE mesh.k $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 $ $ $ PARAMETERS $ $ $ $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *PARAMETER I It_max 2500 R dt_plot 250 $ $--- Fluid $ Rrho_fluid 1 R mu_fluid 0.001 Rvel_fluid 1 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 $ $ $ ICFD CONTROL CARDS $ $ $ $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *ICFD_CONTROL_GENERAL 1 0 0 *ICFD_CONTROL_STEADY &It_max 1e-8 1e-8 1 1 1 0 *ICFD_CONTROL_OUTPUT $# msgl 4 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 $ $ $ ICFD PARTS/ SECTION/ MATERIAL $ $ $ $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *ICFD_MAT $# mid flg ro vis 1 1&rho_fluid &mu_fluid *ICFD_PART $# pid secid mid 1 1 1 *ICFD_PART $# pid secid mid 2 1 1 *ICFD_PART_VOL $# pid secid mid 10 1 1 $# spid1 spid2 1 2 *ICFD_SECTION $# sid 1 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 $ $ $ ICFD BOUNDARY/INITIAL/LOAD CONDITIONS $ $ $ $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *ICFD_BOUNDARY_NONSLIP $# pid 2 *ICFD_BOUNDARY_PRESCRIBED_VEL $# pid dof vad lcid sf vid death birth 1 1 1 1 1.000000 01.0000E+28 0.000 *DEFINE_CURVE_TITLE Vel Inlet $# lcid sidr sfa sfo offa offo dattyp 1 &vel_fluid $# a1 o1 0.0 1.0 10000.0 1.0 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 $ $ $ ICFD MESH KEYWORDS $ $ $ $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *MESH_VOLUME $# volid 10 $# pid1 pid2 1 2 $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 $ $ $ DATABASE (OUTPUT) $ $ $ $---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8 *DATABASE_BINARY_D3PLOT &dt_plot *END
This is the universally famous driven cavity case tested with the second order steady solver and for Re=1000.
References :
[1] U. GHIA, K. N. GHIA, and C. T. SHIN, High-re solutions for incompressible using the navier-stokes equations and a multigrid method*, COMPUTATIONAL PHYSICS, 48 (1982), pp. 187–411.
[2] E. Erturk, Discussions on driven cavity flow, INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 60 (2009), pp. 275–294.