Sign inSign up

openeuler/openlb

Sponsored OSS

By openeuler

Updated 2 months ago

Image
0

10K+

openeuler/openlb repository overview

Quick reference

OpenLB | openEuler

The OpenLB project is a C++ package for the implementation of lattice Boltzmann methods adressing a vast range of tansport problems.

The tag of each openlb docker image is consist of the version of openlb and the version of basic image. The details are as follows

TagCurrentlyArchitectures
1.9.0-oe2403sp4openlb 1.9.0 on openEuler 24.03-LTS-SP4amd64, arm64
1.9.0-oe2403sp3openlb 1.9.0 on openEuler 24.03-LTS-SP3amd64, arm64
1.8.1-oe2403sp1openlb 1.8.1 on openEuler 24.03-LTS-SP1amd64, arm64
1.7.0-oe2403ltsOpenLB 1.7.0 on openEuler 24.03-LTSamd64, arm64
1.8.0-oe2403sp1OpenLB 1.8.0 on openEuler 24.03-LTS-SP1amd64, arm64
1.8.1-oe2403sp2OpenLB 1.8.1 on openEuler 24.03-LTS-SP2amd64, arm64

Usage

In this usage, users can select the corresponding {Tag} and container startup options based on their requirements.

  • Pull the openeuler/openlb image from docker

    docker pull openeuler/openlb:{Tag}
    
  • Start a openlb instance

    docker run -it --rm openeuler/openlb:{Tag}
    
  • Running Test Cases

    All test cases can be compiled by running the make samples command. For details about how to execute an independent test case, for example, cylinder2d, see Non-parallel Computing and Parallel Computing.

    • Non-parallel Computing Procedure

      1. Go to the directory where the test case is stored.
        cd examples/laminar/cylinder2d
        
      2. Compile the test case.
        make
        
      3. Run the program to perform the computing.
        ./cylinder2d
        
        The generated VTK and gnuplot results are stored in the /tmp directory.
    • Parallel Computing Procedure

      1. Go to the directory where the test case is stored.
        cd examples/laminar/cylinder2d
        
      2. Compile the test case.
        make
        
      3. Run the program to perform the computing. The following uses -np=64 and OMP_NUM_THREADS=1 as an example.
        mpirun –allow-run-as-root –np 64 –x OMP_NUM_THREADS=1 ./cylinder2d
        
        The generated VTK and gnuplot results are stored in the /tmp directory.

Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.

Tag summary

Content type

Image

Digest

sha256:e76584d05

Size

402.3 MB

Last updated

2 months ago

docker pull openeuler/openlb

This week's pulls

Pulls:

11

Last week