CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Implement field function with data from previous time steps as boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 20, 2021, 16:33
Default Implement field function with data from previous time steps as boundary condition
  #1
New Member
 
Join Date: Aug 2021
Posts: 5
Rep Power: 5
Faraam is on a distinguished road
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 \dot{M} is the mass flow of component A, \Delta 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.
Attached Images
File Type: png Explicit function.png (8.2 KB, 10 views)
Faraam is offline   Reply With Quote

Reply

Tags
boundary conditions, field functions, field history, mass fractions


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 19:32.