|
[Sponsors] |
August 12, 2024, 04:17 |
Using python with ansys data
|
#1 |
New Member
Sangkyu Baek
Join Date: Feb 2024
Posts: 5
Rep Power: 2 |
Hi, I'm trying to build a neural network for fluid simulations. I'm using Ansys fluent for my ground truth simulation. So, I have some data from ansys fluent and I'm trying to handle the data using python. In this process, I'd like to be able to calculate gradients of velocity and pressure using python. They don't have to exactly match the gradients calculated by fluent but I want the general shape of fields generated by the spatial derivative variables match. However, importing the fluent data as csv and using np or torch gradient gives me values that are completely off from the ansys fluent data. Has anyone tried the same thing as me and experienced this situation? I need some suggestions on how to make the calculation done in python to at least follow the general trend of actual spatial gradient values from ansys flluent.
Thanks |
|
Tags |
fluent, gradient calculation, python |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Experimental data validation with Ansys Fluent | fawad | FLUENT | 7 | February 29, 2024 15:02 |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
[OpenFOAM] Paraview python script, creating data using only CLI, saving in csv/excel file | Ash Kot | ParaView | 1 | September 24, 2021 13:23 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 15:06 |
studying a valve case | mina.basta | OpenFOAM | 33 | August 30, 2013 05:46 |