|
[Sponsors] |
August 16, 2021, 00:31 |
water depth in source code
|
#1 |
New Member
blackcat
Join Date: Aug 2021
Posts: 1
Rep Power: 0 |
Hello, I'd like to modify a program based on icofoam for solving the flow part (water). I want solve a channel where the water depth (H) vary in time.
In my new code, one of my variables (f) is dependent on the water depth (H). I want to calculate f=a*b*(H) at every timestep, where a and b are constants defined in an experiment. How can I access the value of the water depth (H)? Thanks in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 03:50 |
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? | Sorabh | OpenFOAM Meshing & Mesh Conversion | 1 | August 3, 2021 06:35 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 01:22 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 11:32 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |