DEFINE_ADJUST UDF for the parallel solver |
Additional code is sometimes required to make a UDF work in parallel. One example is a DEFINE_ADJUST macro for calculating a mass weighted average or area weighted average of one or more flow... |
Report mass flow rates through various inlets / outlets vs time in a file |
The users wanted to be able to export a file in a spreadsheet type of format containing time as the first column and<br>the mass flow rates through a given list of inlets / outlets in the... |
Run fluent in background on NT |
Question: What is the command to run fluent in background (without gui) on NT machine?<br><br>Answer: On unix machines, the command is<br>fluent 2d -g < command.jou... |
Report averages of quantities on (lists) of surfaces in a file versus time in transient runs |
Users wanted to be able to record in a file in a spreadsheet format averages of various quantities versus time in transient runs.<br>They have as input a list of surfaces; on each of these... |
Tips for using GAMBIT on Linux Systems |
Here are some tips for effectively using GAMBIT on Linux systems<br>(1) Turn off NumLock key. Otherwise it messes up mouse button and keyboard Modifier keys.<br><br>(2) If user... |
How to group several surfaces for postprocessing through TUI command |
A need to be able to group surfaces for postprocessing through a TUI command (to use in journal<br>files in batch mode for example) has been expressed.<br>The Scheme function presented... |
Convert virtual edge to real edge smoothly (no bumps at merge points) |
Client created a virtual edge by merging three real edges. Then he used convert feature to convert virtual to real. But this created a slight bump where the edges were merged.<br>Suggested... |
Pass current cell information to particle drag calculation |
DEFINE_DPM_DRAG passes Re and particle pointer to the user. However, for my client, they want to add Mach number correction to the drag coefficient calculation. So, Cd=f(Re, Mach). Instead of Re... |
How to create iso-surface that passes through a selected zone? |
This is a question that we always get.<br>1. Surface->Iso-Surface<br>Create the surface that passed through the entire domain.<br><br>2.... |
Exporting Cell center data into TecPlot format |
The client wants to export Fluent cell center data in TecPlot format for postprocessing. Fluent supports only node based post processing.<br>Delete the intefaces in Define/Grid Interfaces... |
Halting due to end of file on input |
Starting fluent with the command:<br>fluent 3ddp -t0 -pnet -cnf=fluent.hosts -g < inputfile<br><br>gives:<br>.<br>.<br>.<br>Node 0 spawning Node 3... |
How can I read a library file for impeller geometry information in MixSim from a different directory? |
Normally, when you want to add an impeller in MixSim using the library, MixSim finds the information in, e.g., /usr/local/fluent/Fluent.Inc/mixsim1.7/library/...<br>In my case, I have a... |
How to include image for t=0 in animation sequence created using Solve>Animate |
Animation sequences created through the Solution Animation panel can be written every N time steps. If the time step size is dt, there will be an image written at N*dt,2N*dt,3N*dt and so on. ... |
Finding Angular Momentum Flux Through a Surface using Fluent6 |
This is a quantity that determines the strength of the swirl. It is usually used in in-cylinder engine applications. The axis of the swirl is along the piston direction of motion. The higher this... |
How to Determine Center Point of a surface in Fluent |
How would one find the center point of a surface? We can basically average the x, y, and z coordinates of that surface. That should give us the center point. PJC should be acknowledge for this... |
Scheme file to create tif files for pathline animation |
This is a workaround that will allow the animation of pathlines in v6.0.12. However, it may also be useful in later versions of the software as something that can be included in a journal file to... |
Macro to find N shortest edges in model |
It is possible to easily identify the shortest edge in a dbs file, but in some cases it may be desirable to identify more than one short edge simultaneously. Using the new query commands in... |
residence time calculation for a fluid in a reservoir |
Computation of the residence time for fluid in a reservoir.<br>There are two ways of computing the residence time of fluid in a reservoir. In both approaches the fluid flow is solved first,... |
FLUENT, TGrid, GAMBIT - How to specify the graphics driver |
How to specify graphics driver for FLUENT (or TGrid).<br>When launching the application ("fluent 3d"), FLUENT picks the best graphics driver available. Usually it is opengl on... |
Workaround to handle GTPower path length limitation |
GTPower has a path length limitation which may result in GTPower not being able to open neccessary files during coupled Fluent/GTPower runs. The files are located in the... |
Change from perspective to orthographic |
if you want to change the default camera setting from perspective to orthographic ...<br>If you want to change the default setting for the camera from perspective to orthographic, here is... |
Fan pressure drop as a function of radius |
Compute fan pressure drop as a function of radial distance from the center of rotation of the fan (and flow kinetic energy).<br><br><br>This solution consists of the following... |
Icepak FAQ: Non-conformal + inclined objects |
When meshing Icepak uses bounding box of inclined object to work out intersections with assembly,<br><br>This can lead to spurious warnings - eg:<br>Inlet has a shape that cannot... |
Howto load cff in batch mode (journal) |
There are no text commands to define a custom field function (cff).<br>In the custom field function manage window, it is possible to save the cff as a file (.scm, scheme language file). ... |
Fluent6: Want to access values calculated by a custom field function inside a UDF |
Sometimes, for some reason, the user wants to use values that are available in post-processing (through e.g. "Display---Contours" and all the other post-processing functions) inside... |