|
[Sponsors] |
Implement field function with data from previous time steps as boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 20, 2021, 16:33 |
Implement field function with data from previous time steps as boundary condition
|
#1 |
New Member
Join Date: Aug 2021
Posts: 5
Rep Power: 5 |
Hi,
I am trying to implement the attached function for the density as a boundary condition in a multi-component-liquid case. In the equation is the mass flow of component A, t the time step and V the volume. My approach: 1. Field function rhoZero: ${TimeStep}/(${Volume}) * ${Boundary species flux} (${Boundary species flux} is a Surface Integral Report with the boundary as input part) 2. Field function rhoT: ${rhoNull} + ${Historyofrho_0Sample1} (${Historyofrho_0Sample1} is a field history of rhoZero with the boundary as input part, a sliding sample window size of 2, Trigger: time step, time-step frequency > frequency: 1; Start: 0; Enable stop: disabled; Stop: 0) 3. In order to implement the field functions 1 and 2 as a boundary condition (because only the specification of a mass fraction of the respective component at the interface is possible): 3.1 Field function wDispersed: ${rhoT} / ${Density} 3.2 Field function wConti: ${wDispers} / ${H*} (where ${H*} is a constant) When select field functino 3.1 and 3.2 as Species Mass Fraction and try to run the simulation I get the warning "Unable to find field function wConti on "NameOfBoundary". Please check that function is defined here." Does anyone know where I'm making mistakes? Hope everything is understandable. |
|
Tags |
boundary conditions, field functions, field history, mass fractions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wind turbine simulation | Saturn | CFX | 60 | July 17, 2024 06:45 |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
How to implement heat flux boundary condition as function of time | baran_foam | OpenFOAM Running, Solving & CFD | 3 | September 15, 2014 01:28 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 08:00 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |