|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
i solve electro-chemical phenomena by user-defined scalar ,the answer put into source terms of momentum equation to calculated ,but , fluent's software isn't run , occur error message
DEFINE_UDS_FLUX(cathode_uds1,f,t,I) {face_t f; Thread *t; Yo2=F_YI(f,t,0); /* 0--oxygen */ Pc=F_P(f,t); Xo2=Yo2*Pc; F_UDSI(f,t,0)=Pc*Xo2; return F_UDSI(f,t,0); } DEFINE_SOURCE(aa,c,thread,ds,eqn) {cell_t c; face_t f; Thread *t; real source1,I0; w=F_UDSI(f,t,0); source1=-w*2.5; ds[eqn]=-2.5; return source1; } 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: () |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
| Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
| 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 |
| Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |