NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Press Enter or click the Search button to begin your search.

Back to Results
High-Performance Java Codes for Computational Fluid DynamicsThe computational science community is reluctant to write large-scale computationally -intensive applications in Java due to concerns over Java's poor performance, despite the claimed software engineering advantages of its object-oriented features. Naive Java implementations of numerical algorithms can perform poorly compared to corresponding Fortran or C implementations. To achieve high performance, Java applications must be designed with good performance as a primary goal. This paper presents the object-oriented design and implementation of two real-world applications from the field of Computational Fluid Dynamics (CFD): a finite-volume fluid flow solver (LAURA, from NASA Langley Research Center), and an unstructured mesh adaptation algorithm (2D_TAG, from NASA Ames Research Center). This work builds on our previous experience with the design of high-performance numerical libraries in Java. We examine the performance of the applications using the currently available Java infrastructure and show that the Java version of the flow solver LAURA performs almost within a factor of 2 of the original procedural version. Our Java version of the mesh adaptation algorithm 2D_TAG performs within a factor of 1.5 of its original procedural version on certain platforms. Our results demonstrate that object-oriented software design principles are not necessarily inimical to high performance.
Document ID
20020043287
Acquisition Source
Ames Research Center
Document Type
Preprint (Draft being sent to journal)
Authors
Riley, Christopher
(North Carolina Univ. Chapel Hill, NC United States)
Chatterjee, Siddhartha
(North Carolina Univ. Chapel Hill, NC United States)
Biswas, Rupak
(NASA Ames Research Center Moffett Field, CA United States)
Biegel, Bryan
Date Acquired
September 7, 2013
Publication Date
January 1, 2001
Subject Category
Fluid Mechanics And Thermodynamics
Report/Patent Number
ACM-0-89791-88-6/97/05
Report Number: ACM-0-89791-88-6/97/05
Meeting Information
Meeting: Java Grande ISCOPE Conference
Location: Stanford, CA
Country: United States
Start Date: June 2, 2001
End Date: June 4, 2001
Funding Number(s)
CONTRACT_GRANT: NSF CCR-97-11438
PROJECT: RTOP 725-10-31
Distribution Limits
Public
Copyright
Public Use Permitted.
No Preview Available