|
[Sponsors] |
Interfoam - apply limitFields only to air fraction |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 8, 2024, 06:23 |
Interfoam - apply limitFields only to air fraction
|
#1 |
New Member
Join Date: Mar 2021
Posts: 12
Rep Power: 5 |
Hi!
I am running a simulation in OpenFOAM using the interFoam solver. During my simulation, the velocities in the air fraction become unrealistically high. Since these effects are tampering my time step, I'd like to limit the velocities in the air fraction artificially by using the limitFields function in my controlDict. The only thing is, that when I set a limit for the velocity field, both the velocity of my air and water fraction is limited. I use the following: Code:
limitVelocity { type limitFields; libs ("libfieldFunctionObjects.so"); fields (U); writeControl adjustableRunTime; writeInterval 10; limit both; min 0; // Set the minimum value for the velocity magnitude max 1; // Set the maximum value for the velocity magnitude (adjust as needed) } If another function than limitFields is more suitable, please let me know as well. Best, Bas |
|
August 9, 2024, 09:05 |
Solved
|
#2 |
New Member
Join Date: Mar 2021
Posts: 12
Rep Power: 5 |
A thourough search brought me here:
https://github.com/nicolasbadano/air...on/tree/master I only could get it running for openFoam version 1812. |
|
October 30, 2024, 10:23 |
|
#3 |
Member
Michael Sukham
Join Date: Mar 2020
Location: India
Posts: 84
Rep Power: 6 |
It does work with openfoam 12 as well in fvModels entry. But I dont see any changes in the velocity
Last edited by 2538sukham; October 31, 2024 at 00:08. |
|
Tags |
interfoam, limitfields, openfoam, vof |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Limiting volume fraction in interFoam | sita | OpenFOAM Running, Solving & CFD | 7 | June 5, 2024 12:58 |
What are the best settings for a channel flow simulation? | Ashkan Kashani | CFX | 3 | October 13, 2022 22:36 |
multiphase turbulance case floating error | harsha_kulkarni | OpenFOAM Running, Solving & CFD | 3 | February 18, 2016 06:06 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
How to apply negtive pressure to outlet | bioman66 | CFX | 5 | June 3, 2006 02:40 |