|
[Sponsors] |
September 30, 2021, 14:39 |
Can't read data from file to a UDF
|
#1 |
New Member
Emanuel Camacho
Join Date: Oct 2016
Posts: 13
Rep Power: 10 |
Good day,
I am trying to read some data from the forces report file that Fluent generates into a UDF but all values appear 0 in Fluent. I attached 3 figures to illustrate the data file (no 1), the UDF code (no 2), and the message observed in Fluent (no3). What can I be doing wrong? Do I need to add something else to the code since I am using file-related functions (fscanf and such)? |
|
October 1, 2021, 13:55 |
|
#2 |
New Member
Emanuel Camacho
Join Date: Oct 2016
Posts: 13
Rep Power: 10 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] LaminarSMOKE compilation error | mdhfiz | OpenFOAM Community Contributions | 8 | July 2, 2024 11:32 |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 09:46 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |