Skip to content

Lattice Porosity Unit Conversion

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Lattice Porosity Unit Conversion

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10444
    beko337
    Participant

    Hello, how do i convert from physical porosity into lattice units in the latest OLB version (1.8r0)? The user guide for 1.7 mentions the unit converter method: “Additionally, the class UnitConverter in src/core/units.h provides useful functions for conversion between physical and lattice values” but i cannot find any function like that in the current version.

    Thanks in advance.

    • This topic was modified 1 week ago by beko337.
    #10446
    avrachan
    Participant

    Hi,

    AFAIK, porosity is a scalar between 0 and 1, so you don’t need to convert it.

    #10447
    mathias
    Keymaster

    Have a look at the porous media examples.

    #10448
    beko337
    Participant

    Hi, okay thank you! I thought so too but the user guide made me question that, but turns out i was just confused.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.