lb3d-2012-03-12
所属分类:matlab编程
开发工具:Fortran
文件大小:9429KB
下载次数:77
上传日期:2014-03-19 09:33:18
上 传 者:
kxuaf
说明: A 3D LBM Code for Simulation of Interacting Amphiphilic Fluids
文件列表:
lb3d-2012-03-12 (0, 2014-03-07)
lb3d-2012-03-12\lb3d (0, 2012-03-12)
lb3d-2012-03-12\lb3d\code (0, 2014-03-07)
lb3d-2012-03-12\lb3d\code\cutout.dat (211, 2012-03-05)
lb3d-2012-03-12\lb3d\code\input-file (1375, 2012-03-12)
lb3d-2012-03-12\lb3d\code\lb3d.F90 (1374, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d.h (2198, 2012-03-11)
lb3d-2012-03-12\lb3d\code\lb3d_advection.F90 (4444, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_analysis.F90 (10545, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_bc.F90 (5759, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_bc_bounce.F90 (2515, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_bc_leesedwards.F90 (42126, 2012-03-12)
lb3d-2012-03-12\lb3d\code\lb3d_bc_periodic.F90 (2008, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_bdist.F90 (25256, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_collision.F90 (16757, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_compatibility.F90 (4137, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_config.F90 (49454, 2012-03-12)
lb3d-2012-03-12\lb3d\code\lb3d_finalise.F90 (2018, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_force.F90 (14864, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_force_constant.F90 (8145, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_force_kolmogorov.F90 (3903, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_force_shanchen.F90 (10982, 2012-03-11)
lb3d-2012-03-12\lb3d\code\lb3d_global.F90 (2838, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_helper.F90 (5004, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_ic.F90 (48241, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_ic_rock.F90 (8833, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_initialise.F90 (2959, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_invasion.F90 (195118, 2012-03-11)
lb3d-2012-03-12\lb3d\code\lb3d_io.F90 (12844, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_io_arrstats.F90 (12219, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_io_checkpoint.F90 (43875, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_io_dump_data.F90 (99983, 2012-03-12)
lb3d-2012-03-12\lb3d\code\lb3d_io_hdf5.F90 (69831, 2012-03-12)
lb3d-2012-03-12\lb3d\code\lb3d_io_helper.F90 (11132, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_io_stress.F90 (6731, 2012-03-11)
lb3d-2012-03-12\lb3d\code\lb3d_io_xdrf.F90 (50128, 2012-03-12)
lb3d-2012-03-12\lb3d\code\lb3d_lattice.F90 (11869, 2012-03-11)
lb3d-2012-03-12\lb3d\code\lb3d_log.F90 (2776, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_mpi.F90 (33666, 2012-03-09)
lb3d-2012-03-12\lb3d\code\lb3d_mpi_parameters.F90 (3837, 2012-03-09)
... ...
=========================================================================
Copyright 1999-2012, Owners retain copyrights to their respective works.
This file is part of lb3d.
lb3d is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
lb3d is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public
License along with lb3d. If not, see .
=========================================================================
* Introduction
LB3D is an implementation of the lattice Boltzmann algorithm for ternary
amphiphilic fluid mixtures and binary (im)miscible fluid mixtures. It is
written in Fortran90 and parallelized using MPI.
Below you find a quick start guide. Please refer to the user-manual in the
directory lb3d/doc/manual/ for further details.
* Requirements
- Fortran compiler (Intel, IBM, Cray, GNU are known to work)
- MPI implementaion (MPICH2, openMPI, MPVAPICH)
- XDRF library for Fortran (Available at http://hpcv100.rc.rug.nl/xdrf.html)
- Parallel HDF5 library (Available at http://www.h***roup.org)
- GNU make
- tar, patch, diff
To rebuild the documentation from sources
- Doxygen
- pdflatex
* Installation of XDRF
Download the xdrf library from http://hpcv100.rc.rug.nl/binaries/xdrf.tar.gz
and unpack it into the directory lb3d/code/
tar xvf xdrf.tar.gz
Apply the patch provided there
patch -p0 < xdrf.patch
Done
* Configuration
Please review a suiting defines.PLATFORM file or create a new one for your platform from defines.TEMPLATE. You most likely need to adjust the compiler environment-variables and flags.
To trigger the configuration issue:
./configLB3D.sh CONFIG PLATFORM COMPILEROPTIONS
A typical example would be
./configLB3D.sh CONFIG LINUX*** -DUSEXDRF -DUSEHDF
To compile the code to include three fluid components.
If the configuration is successful, the code can be compiled by issueing
./configLB3D.sh MAKE
If successfull, this will create a binary 'lb3d' in the directory lb3d/code/
* Running, issue for example to run two processes
mpirun -n 2 ./lb3d -f input-file
Please refer to the lb3d-manual in the directory lb3d/doc/manual/ for further
details.
You can contact us via e-mail: lb3d.phys@tue.nl
近期下载者:
相关文件:
收藏者: