TAGGED: ascii, export, export-data, fluent
-
-
March 31, 2023 at 7:54 am
Leonardo Geronzi
SubscriberHi,
I am executing some simulations with a parametric mesh in Fluent (running in parallel).
For every mesh, I would like to export the pressure at the wall or the wall shear stress for example.
In the journal, I'm using /file/export ascii wss (2 3 4 5 6 7 8 9 10) yes wall-shear () no
where from (2.... to 10) are the surfaces of the mesh. It works but nodes are always numbered from 1 to n and there is no nodal correspondence (probably due to the parallel partition?). It means that in row 1 sometimes I have node 2034, sometimes node 6885, sometimes node 99999 ecc.
I need to create a list where on row x there are always results associated with the same node id even if its position has changed in space due to the modified parametric mesh.
How can I do? Is it possible to export Node Id in Fluent?P.S. I know that CFD post is a solution but I need to do it directly in Fluent.
Thank you.
-
March 31, 2023 at 10:25 am
Rob
Ansys EmployeeFluent is an unstructured solver, and the node IDs aren't necessarily static definitions: it's why it's always a good idea to write case and data on finishing a run.
What exactly are you trying to figure out?
-
March 31, 2023 at 2:08 pm
Leonardo Geronzi
SubscriberOk, it’s a pity. I need to create a ROM (without using the RBP extension).
At this point, CFD post is the only possibility. I put here the solution I will use in CFD-Post if any user will be interested in future. I stored the solution for every parametric mesh in a new cas and dat file.
I used a loop in CFD-Post where n is the number of simulations.COMMAND FILE:
CFX Post Version = 23.1
END
DATA READER:
Clear All Objects = false
Append Results = true
Edit Case Names = false
Multi Configuration File Load Option = Last Case
Open in New View = true
Keep Camera Position = true
Load Particle Tracks = true
Multi Configuration File Load Option = Last Case
Construct Variables From Fourier Coefficients = true
Open to Compare = false
Files to Compare =
END
!$i = 1;
!while ($i < n){
!if($i<2){
DATA READER:
Run Selection = “Simulation/Run/cff-restart-dat”
END
>load filename=D:/Leonardo/ROM_DT/ROM_SSM_files/dp0/FLU-1/Fluent/SSM-$i.cas.h5, force_reload=true
!}
!else {
DATA READER:
Domains to Load=
END
> load filename=D:/Leonardo/ROM_DT/ROM_SSM_files/dp0/FLU-1/Fluent/SSM-$i.cas.h5, \
case=Case SSM 1.cas, force_reload=true
!}
EXPORT:
ANSYS Export Data = Element Heat Flux
ANSYS File Format = ANSYS
ANSYS Reference Temperature = 0.0 [K]
ANSYS Specify Reference Temperature = Off
ANSYS Supplemental HTC = 0.0 [W m^-2 K^-1]
Additional Variable List =
BC Profile Type = Inlet Velocity
CSV Type = CSV
Case Name = Case SSM 1.cas
Export Connectivity = Off
Export Coord Frame = Global
Export File = D:/Leonardo/ROM_DT/ROM_SSM_files/user_files/wss-$i.csv
Export Geometry = On
Export Location Aliases =
Export Node Numbers = On
Export Null Data = On
Export Type = Generic
Export Units System = Current
Export Variable Type = Current
External Export Data = None
Include File Information = Off
Include Header = On
Location = arch
Location List = arch,ascending_aorta,bc,descending_aorta,end_ascending_aorta,\
high_valsalva_sinuses,lcc,low_valsalva_sinuses,ls
Null Token = null
Overwrite = On
Precision = 8
Separator = “, “
Spatial Variables = X,Y,Z
Variable List = Wall Shear
Vector Brackets = ()
Vector Display = Scalar
END
>export
!$i ++;
!}
-
- 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.

Ansys Blog
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
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
-
5242
-
3297
-
2467
-
1308
-
988
© 2023 Copyright ANSYS, Inc. All rights reserved.