|
[Sponsors] |
October 20, 2012, 04:03 |
UDF:error while initialisation problem
|
#1 |
New Member
Join Date: Jul 2012
Posts: 19
Rep Power: 14 |
hello everyone,
i have written udf for radial distribution for eulerian model .....after building nad loading when i initialize it gives the following error Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: #f can anyone telll me why this error is coming ....i hope someone knows about it... |
|
October 20, 2012, 05:35 |
|
#2 |
Member
Join Date: Mar 2011
Posts: 64
Rep Power: 15 |
It means you have forgotten a special thing if defining parameters in both UDF and Fluent. May you please zip a sample case file and the UDF and email me to check?
__________________
Saeed Sadeghi Ansys Fluent CFD Consultant |
|
October 21, 2012, 09:26 |
|
#3 | |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
Quote:
When initializing don't "compute from" Daniele |
||
October 22, 2012, 02:20 |
|
#4 |
New Member
Join Date: Jul 2012
Posts: 19
Rep Power: 14 |
hey friends thank u for ur reply ...
daniele, i tried to initialise without using "compute from" ....but the error was still there .. |
|
October 22, 2012, 02:23 |
|
#5 |
New Member
Join Date: Jul 2012
Posts: 19
Rep Power: 14 |
when i use this udf there is problem while initialization..
#include "udf.h" DEFINE_PROPERTY(cell_raddis,c,t) { real rad_dis; real a_a,v_s; Thread **pt = THREAD_SUB_THREADS(t); v_s= C_VOF(c,pt[1]); a_a=1-pow((v_s/0.63),(1/3)); rad_dis=(3/5)*pow(a_a,-1); return rad_dis; } when i use this udf there is no problem while initialisation but iteration cannot even start even once....it reports divergence problem... #include "udf.h" DEFINE_PROPERTY(cell_radial,c,t) { real rad_dis; real a_a; real void_s; real void_g; void_g=C_VOF(c,t); void_s=1-void_g; a_a=pow((void_s/0.63),(1/3)); rad_dis=(3/5)*pow((1-a_a),-1); return rad_dis; } kindly look into this....and tell me your opinion... |
|
Tags |
udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with interFoam; Wave/wiggle alpha1 behavior | JonW | OpenFOAM | 10 | February 4, 2023 08:27 |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Initialisation problem Turbo tool CFX-Post | Toralf | CFX | 0 | February 13, 2008 06:44 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |