-
-
February 2, 2022 at 6:10 pmsolovievSubscriber
Hello,
I was running a VOF to DPM model on Fluent 2020 R2 and writing a lump transcript file to track when particles were generated. This was going well until I had to transfer and continue the simulation on either 2021 R2 or 2022 R1 (due to an HPC OS update). Now when the file continues writing the time for each new particle line is 0, and it continues to be 0 as long as it continues to run. If I switch back to 2020R2 on a smaller workstation, the file continues with time normally. I tried starting a new lump transcript file (new name) in the new Fluent version and it just has a time of 0 for the entire new file. Is there a possible solution for this?
Thanks,
Alex
February 16, 2022 at 1:58 pmKarthik RemellaAdministratorHello Have you tried setting up your case from scratch in the latest version? If so, do you see this issue there?
Karthik
February 16, 2022 at 7:39 pmsolovievSubscriberHello Karthik I have not tested this. I can try testing this, but the model we were using these files for had already been running for 2 weeks prior to this issue, so we were hoping not to have to re-run it.
I will see if the issue persists though if I start the case fresh in 2022R1.
Thanks Alex
February 17, 2022 at 4:15 pmsolovievSubscriberHello again Karthik I started the model from the beginning and the time in the file is still 0. I guess maybe this is an issue with the 2022 R1 release.
Thanks Alex
February 18, 2022 at 4:07 pmAmine Ben Hadj AliAnsys EmployeeI tested that and a transcript file has been written. Are you able to see from Fluent transcript that particles have been transitioned from VOF World to the Discrete World?
February 18, 2022 at 4:08 pmAmine Ben Hadj AliAnsys EmployeeAre you using 22R1 or 21R1? (title bit misleading).
February 18, 2022 at 4:56 pmsolovievSubscriberYes, I see the transcript file and it has lines or the particles being transitioned, but the time is still 0 for all particles when I do this in 22R1.
Thanks Alex
February 23, 2022 at 3:14 pmsolovievSubscriberHello again I am trying to write a UDF to fix this issue (export particle variable data via a UDF text file). I looked through the documentation for UDFs, specifically for DPM, and didn't see wha the macro would be to specify or write particle generation time (when particle is transitioned from VOF to DPM). Is this a possibility?
Thanks Alex
February 23, 2022 at 3:52 pmAmine Ben Hadj AliAnsys EmployeeBack to the problem: Is it possible to add more details? What is "zero" Can you add screenshot of the Lump Transcript file? I will need to run a test again.
In the DEFINE_DPM_OUTPUT Documentation you might see the Macro for the time of birth.
February 23, 2022 at 4:40 pmAmine Ben Hadj AliAnsys EmployeeFrom quick verification: flow-time is written but time is zero: particle residence time is zero as the particles are born at that flow time.
February 24, 2022 at 4:27 pmFebruary 28, 2022 at 3:44 pmsolovievSubscriberHello again
I managed to write a UDF for exporting the particle info, including the generation time (time of birth):
/*** DPM UDF to write particle positions to file ******/
#include "udf.h"
#include "dpm.h"
#include "math.h"
DEFINE_DPM_OUTPUT(particle_info,header,fp, p,t,plane)
{
if(header)
{
par_fprintf_head(fp,"X-Position Y-Position Z-Position X-Velocity Y-Velocity Z-Velocity Time Generation Time\n ");
}
if(NULLP(p))
return;
par_fprintf(fp,"%d %" int64_fmt " %e %e %e %e %e %e %e %e \n" P_INJ_ID(P_INJECTION(p)),p->part_id,P_POS(p)[0],P_POS(p)[1],P_POS(p)[2],P_VEL(p)[0],P_VEL(p)[1],P_VEL(p)[2],P_TIME(p),p->time_of_birth);
}
The UDF works without errors, compiles fine, and writes the file with the proper headers and information. The issue I'm having is that there are way too many lines in the particle file. The Fluent console says there are 5319 particles, meanwhile the written particle file has 928911 lines of particle info. Is there a way to fix this?
Thanks Alex
March 1, 2022 at 7:29 amAmine Ben Hadj AliAnsys EmployeeThe output you are getting is correct and that is similar to what I get. The column with "time" is zero the one with "flow time" is not zero. That "time" does not not correspond to time of birth by the way. The time of birth in the transcript will correspond to the column with flow time!
March 1, 2022 at 6:25 pmsolovievSubscriberThank you! I compared and the old files had the exact same data in flow time and time columns. When I loaded old case/data files into 2022 R1 it works with the time continuing to write in the flow-time column.
March 2, 2022 at 9:54 amAmine Ben Hadj AliAnsys EmployeeYes we corrected that behavior as it is odd to have particle residence time equal to its birth time!
Viewing 14 reply threads- The topic ‘VOF Lump transcript file time issue between Fluent versions 2020 R2 and 2021 R2’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Fluent fails with Intel MPI protocol on 2 nodes
- Cyclone (Stairmand) simulation using RSM
- error udf
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- UDF, Fluent: Access count of iterations for “Steady Statistics”
Top Contributors-
1406
-
599
-
591
-
550
-
366
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-