Skip to content

Lattice Porosity Unit Conversion

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics Lattice Porosity Unit Conversion

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10444
    Anonymous
    Inactive

    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.

    #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
    Anonymous
    Inactive

    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.