Tagged: dpm, dpm-udfs, multiphase-multicomponent, udf
July 6, 2022 at 12:38 pmmajamSubscriber
I have a multiphase (multi-species) gas-liquid eulerian flow and I want to use DPM for using massless-particles as a separate phase and record the concentrations that particles pass through (if we consider particles as microorganisms) of several species(substrate and O2) in the Eulerian liquid phase in their path.
I am trying to calculate the concentrations of 2 species in the cells where a particle exists (through macro DEFINE_DPM_SCALAR_UPDATE) and store them in a variable (P_USER_REAL(p,0) = (C_YI(c,pt,0)/180)*998.2; Cmole=P_USER_REAL(p,0);) and then use (DEFINE_EXECUTE_AT_END) to write these values in each time step into a file with:
fyleS = fopen("FileS.out","a");
fprintf( fyleS,"%e \n",Cmole)
for each particle, there should be two concentrations. I have 100 particles, but in each time step it only writes 3 values (which is still 3 values when I have only one particle)
Can anyone help me with this?
July 7, 2022 at 4:06 pmRobAnsys Employee
What are the three values?
July 14, 2022 at 7:02 ammajamSubscriber
It is three concentrations, which I think depends on the fact that the parcels' time step is different from the simulation time step, it reports the three concentrations in the cells parcel visits in its path.
But still, I can not store the same information for all the parcels. I mean writin gall the concentrations of the cells that all the parcels visit in their paths.
Can anyone help me with this?
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.