A tensorial approach to computational continuum mechanics using object-oriented techniques

被引:3985
作者
Weller, HG
Tabor, G [1 ]
Jasak, H
Fureby, C
机构
[1] Univ London Imperial Coll Sci Technol & Med, Dept Mech Engn, London SW7 2BX, England
[2] Computat Dynam Ltd, London W10 6RA, England
[3] Natl Def Res Estab, Dept Weap & Protect, S-17290 Stockholm, Sweden
来源
COMPUTERS IN PHYSICS | 1998年 / 12卷 / 06期
关键词
D O I
10.1063/1.168744
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In this article the principles of the field operation and manipulation (FOAM) C++ class library for continuum mechanics are outlined. Our intention is to make it as easy as possible to develop reliable and efficient computational continuum-mechanics codes: this is achieved by making the top-level syntax of the code as close as possible to conventional mathematical notation for, tensors and partial differential equations. Object-orientation techniques enable the creation of data types that closely mimic those of continuum mechanics, and the operator overloading possible in C++ allows normal mathematical symbols to be used for the basic operations. As an example, the implementation of various types of turbulence modeling in a FOAM computational-fluid-dynamics code is discussed. and calculations performed on a standard test case, that of flow around a square prism, are presented. To demonstrate the flexibility of the FOAM library, codes for solving structures and magnetohydrodynamics are also presented with appropriate test case results given. (C) 1998 American Institute of Physics. [S0894-1866(98)01906-3].
引用
收藏
页码:620 / 631
页数:12
相关论文
共 42 条
[1]  
[Anonymous], 1997, THESIS IMPERIAL COLL
[2]  
[Anonymous], 1984, TF19 DEP MECH ENG
[3]  
CARY JR, UNPUB COMPUT PHYS CO
[4]  
DEARDORFF JW, 1973, T ASME I, V156, P55
[5]   NUMERICAL-METHOD FOR COUPLED FLUID-FLOW, HEAT-TRANSFER AND STRESS-ANALYSIS USING UNSTRUCTURED MOVING MESHES WITH CELLS OF ARBITRARY TOPOLOGY [J].
DEMIRDZIC, I ;
MUZAFERIJA, S .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 1995, 125 (1-4) :235-255
[6]   FINITE-VOLUME METHOD FOR STRESS-ANALYSIS IN COMPLEX DOMAINS [J].
DEMIRDZIC, I ;
MUZAFERIJA, S .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 1994, 37 (21) :3751-3766
[7]   OBJECT-ORIENTED FINITE-ELEMENT PROGRAMMING .3. AN EFFICIENT IMPLEMENTATION IN C++ [J].
DUBOISPELERIN, Y ;
ZIMMERMANN, T .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 1993, 108 (1-2) :165-183
[8]   MEASUREMENTS OF TURBULENT AND PERIODIC FLOWS AROUND A SQUARE CROSS-SECTION CYLINDER [J].
DURAO, DFG ;
HEITOR, MV ;
PEREIRA, JCF .
EXPERIMENTS IN FLUIDS, 1988, 6 (05) :298-304
[9]   TOWARD THE LARGE-EDDY SIMULATION OF COMPRESSIBLE TURBULENT FLOWS [J].
ERLEBACHER, G ;
HUSSAINI, MY ;
SPEZIALE, CG ;
ZANG, TA .
JOURNAL OF FLUID MECHANICS, 1992, 238 :155-185
[10]   Object-oriented finite elements .2. A symbolic environment for automatic programming [J].
Eyheramendy, D ;
Zimmermann, T .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 1996, 132 (3-4) :277-304