CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Using python with ansys data

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2024, 04:17
Default Using python with ansys data
  #1
New Member
 
Sangkyu Baek
Join Date: Feb 2024
Posts: 5
Rep Power: 2
skbake94 is on a distinguished road
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
skbake94 is offline   Reply With Quote

Reply

Tags
fluent, gradient calculation, python


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
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


All times are GMT -4. The time now is 16:25.