Vofi — A library to initialize the volume fraction scalar field
详细信息    查看全文
文摘
The Vofi library has been developed to accurately calculate the volume fraction field demarcated by implicitly-defined fluid interfaces in Cartesian grids with cubic cells. The method enlists a number of algorithms to compute the integration limits and the local height function, that is the integrand of a double Gauss–Legendre integration with a variable number of nodes. Tests in two and three dimensions are presented to demonstrate the accuracy of the method and are provided in the software distribution with C/C++ and FORTRAN interfaces.

Program summary

Program title:Vofi

Catalogue identifier: AEYT_v1_0

Program summary URL:maries/AEYT_v1_0.html">http://cpc.cs.qub.ac.uk/summaries/AEYT_v1_0.html

Program obtainable from: CPC Program Library, Queen’s University, Belfast, N. Ireland

Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html

No. of lines in distributed program, including test data, etc.: 94963

No. of bytes in distributed program, including test data, etc.: 1679223

Distribution format: tar.gz

Programming language: C, with C++ and FORTRAN interfaces.

Computer: Any computer with a C compiler.

Operating system: Tested on x86 with Linux (openSUSE 13.1, Ubuntu 12.04) and Mac OS X.

Has the code been vectorized or parallelized?: The code does not need any change to be used in parallel with domain decomposition, as done for example in the Paris-Simulator code, http://parissimulator.sf.net, that is massively parallel and uses the Vofi library.

Word size: 64 bits

Classification: 4.11.

Nature of problem: The library computes the volume fraction of a cubic grid cell cut by an interface described by an implicit function.

Solution method: The library computes the integration limits along two coordinate directions and the local height function, that is the integrand of a double Gauss–Legendre integration with a variable number of nodes.

Restrictions: Cartesian grids with cubic cells.

Running time: Fractions of a second for a grid cell cut by the interface.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700