-
How to export Fluent msh file from Mechanical via scripting?
How to export Fluent msh file from Mechanical via Scripting? One can export it via GUI in Mechanical --> File --> Export
-
Access to variables in pyfluent for python post processing
Hi guys, Does someone knows how to get in an array the cell center position and the velocity magnitude or any other field variable after a calculation to use it for post processing or external calculations without exporting data in ascii and importing in python ? Is there a straightforward way to get datas in pyfluent ?…
-
Extracting surfacedata (name) from a Fluent-simulation via UDFs
I am currently trying to export Result-Surfaces (1x iso-surface and 1x iso-clip-surface) at the end of my fluent simulation as stl-data. For this, I have set up the simulation via the GUI and created the Surface definition with a constant name (in my case, e.g. phase volumefraction >0.5 generates a iso-surface). To get the…
-
UDFs for modelling heat transfer in a porous medium
Hello, I am unsure if this is the place to ask this, however I am really struggling to create UDFs to fit a numerical model which must be applied as UDFs in ANSYS Fluent to model a phase change material in a porous medium. I have attached the mathematical model I am trying to follow as well as my current code. I am…
-
ANSYS Fluent Solid nanoparticle deposition
I am simulating solid nanoparticles (silver) using DPM in ansys Fluent. I have it set as an inert gas (I didn't know how to set it as a solid injection). I am looking to deposit the solid on a substrate with a carrier gas (argon). How would I go about defining the interaction between the particles and the substrate?
-
Simulation Error When Running Wind Turbine Simulation
I have been following step by step a tutorial on youtube about the Savonius Turbine; however after completing the simulation i faced many errors. This is my first time using ansys so i dont know how to fix the problems. In addition, the simulation im trying to run is for a school project thats due soon, therefore your help…
-
How to make discharge curves (voltage vs cell capacity) using the MSMD module?
I am validating one of my models for a 20Ah battery. I am giving a 1 C rate discharge and want to check the discharge characteristics plotted as cell voltage vs battery capacity in Ah. I cant figure out how to make this plot in fluent. I am using the ECM model btw. I also want temperature to be plotted along capacity.
-
Fluent Aero Fluid reversed flow on pressure inlet
Can you guide me, what does this statement means? (refer attachment) Can we conclude based on this statement that our boundary condition is wrong? what does this statement signifies? How to resolve this? I'm doing simulation in pressure far-field condition at outlet and at side, at inlet we considered pressure inlet and I…
-
How can I rename xy, yz, zx planes so that the name reflects their current location?
When creating groups of planes of a constant x, y, z location the name is zeroed on the first specified value and the remaining planes names are defined by the offset from the zero value. For example, 3 planes equally spaced by 0.1m starting from 1m or 3m would be named x-plane=0, x-plane=0.1, x-plane=0.2. How can planes…
-
How can I rename isosurfaces and planes to round off names at selected number of significant digits?
Sometimes when creating groups of iso-surfaces or planes of a constant x, y, z location sometimes the name of the object can contain unexpected digits in it. For example, 3 x-constant isosurfaces with spacing 0.1 starting at 1m could produce names such as constant-x=1, constant-x=1.10000001, constant-x=1.2. How can this be…
-
Error opening UDF library file in ANSYS Fluent journal file: Error code 126
Hello ANSYS community, I'm encountering an issue when trying to run a Fluent simulation with UDF (User-Defined Function) libraries. I have followed the necessary steps to set up the simulation, including compiling the UDF library and specifying the correct paths. However, I'm receiving an error when Fluent tries to open…
-
Creating Tabs within a Custom User Interface in Fluent
Hello, we're a team of computer science students at Colorado School of Mines, and we just started work on a project to write a Fluent plugin for Dr. Richard GIlmore. In the dialog box that controls the plugin, we'd like to have tabs that navigate to different pages/panels(/tables?) of interface elements. Below is an…
-
pyFluent - Returns zone names while meshing
Hi! I have been trying to construct a 'smart' meshing process which would query label/zone names and issue surface refinement depending on said names. Is there a command whose output would be all the zone names in a table or something? Same question at but for the solver instead of the mesher. Thanks you for your time!…
-
Extract from Fluent a 3D profile of momentum (x,y,z)
From an unsteady sliding mesh case of a standalone fan I would like to extract (write in a file) an average 3D field of momentum (x,y,z) the idea behind is to “replace” the unsteady fan by a steady ROM in a big case
-
Is there a Fluent UDF macro to access the pseudo-time step?
Is there a Fluent UDF macro to access the pseudo-time step?
-
How to evaluate the time to run iterations per UDF
How to evaluate the time to run iterations per UDF
-
How to check by UDF if a cell zone has a source term?
How to check by UDF if a cell zone has a source term?
-
How to access the local residuals through UDF
How to access the local residuals through UDF
-
How to change a stationary wall to a moving wall by scheme command?
How to change a stationary wall to a moving wall by scheme command?
-
How to execute scheme commands by UDF
How to execute scheme commands by UDF