|
[Sponsors] |
Process xxxx: received signal SIGSEGV; The fl process could not be started |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 31, 2018, 05:26 |
Process xxxx: received signal SIGSEGV; The fl process could not be started
|
#1 |
New Member
Someeee
Join Date: Dec 2017
Posts: 4
Rep Power: 8 |
Hello. I am trying to simulate the dynamic movement of a valve in response to flow velocity. My UDF is as attached. However, after compiling the udf, when I run the simulation, I immediately received an error saying 'Process xxxx: received signal SIGSEGV; The fl process could not be started'. I have attached my code here. Any suggestions would be highly appreciated. Thanks in anticipation
|
|
October 31, 2018, 05:32 |
|
#2 |
New Member
Someeee
Join Date: Dec 2017
Posts: 4
Rep Power: 8 |
My code is as follow:
#include "udf.h" DEFINE_PROFILE(iv, thread, position) { face_t f; float t = CURRENT_TIME; begin_f_loop(f,thread) { F_PROFILE(f, thread, position)= 0.75*sin(8.491*t); } end_f_loop(f, thread) } DEFINE_CG_MOTION(valve1, dt, vel, omega, time, dtime) { float a = 0; float b = 0; float i = 0; float M = 0; float t = CURRENT_TIME; Thread *t_object; real CG[3],force[3],moment[3]; Domain *d; d= Get_Domain(1); while(t >=0.0 && t <= 0.8) { again: Compute_Force_And_Moment (d,t_object,CG,force,moment,TRUE); M = moment[0] + moment[1] + moment[2]; if ( (M/0.000000008)-b > 0.0005) { b = b + 0.01*((M/0.000000008)-b); a = a + (b*0.0004); omega[1] = omega[1] + a*0.0004; goto again; } else { t = (i + 1)*0.0004; } } } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free Surface Ship Flow | timfranke | OpenFOAM Running, Solving & CFD | 322 | March 3, 2021 10:04 |
fluentError: received a fatal signal (Segmentation fault). | thomaszhangjing | Fluent UDF and Scheme Programming | 11 | January 13, 2021 10:37 |
rhoSimpleFoam time step continuity errors | deepbandivadekar | OpenFOAM Running, Solving & CFD | 2 | September 13, 2018 06:50 |
Error: Fluent process could not be started | Clem | FLUENT | 1 | November 26, 2015 14:23 |
FLUENT received fatal signal (ACCESS_VIOLATION) | osamaghani | FLUENT | 2 | March 31, 2012 17:15 |