|
[Sponsors] |
How to add my own property to the fluids in openfoam? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Shivam Mittal
Join Date: Jun 2018
Posts: 1
Rep Power: 0 ![]() |
Hello,
I am working on a project where i need to show simulation of dirty water coming from a source and dumping it into a river(openFOAM is to be used). So here i want to show how the properties of river water changes when dirty water is dumped into the river like- salinity ,dissolved oxygen, turbidity etc. I need to make something like this: https://www.youtube.com/watch?v=0K2QBjFS5VM but as in this video we can see how temperature and velocity changes , so can we add our own properties? Thanks in advance |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Kristjan
Join Date: Apr 2017
Location: Slovenia
Posts: 36
Rep Power: 8 ![]() |
You'll probably have to do something similar to this:
https://openfoamwiki.net/index.php/H...ure_to_icoFoam |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 11 ![]() |
First you'd have to find a suitable solver that includes most of the governing equations of the desired parameters. The remaining terms can be added to the solver, as mentioned by krikre, based on their valid mathematical definition and equation. If you're new to OF keep in mind that changing a solver is not a trivial task.
|
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,694
Blog Entries: 6
Rep Power: 50 ![]() ![]() ![]() |
Quote:
However, if the quantity you want to solve is based on other phenomena such as gravity, drag forces etc. you have to change the equation and add the source terms. In addition, if the quantity influences the flow (momentum) you have to couple them. Good luck.
__________________
Keep foaming, Tobias Holzmann |
||
![]() |
![]() |
![]() |
Tags |
dissolved oxygen, openfoam, property |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin | CFDFoundation | OpenFOAM Announcements from Other Sources | 0 | January 4, 2017 06:15 |
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker | rt08 | OpenFOAM Installation | 1 | February 28, 2016 19:00 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 13:36 |
Add lagrangian particles to OpenFoam solver | luchen2408 | OpenFOAM | 0 | June 2, 2015 03:10 |