|
[Sponsors] |
July 26, 2016, 06:06 |
Mass non positive
|
#1 |
Member
ERMACORA Florian
Join Date: May 2016
Posts: 39
Rep Power: 10 |
Hello
In my simulation I use two UDFs in 6DOF. After the initialization, even if it doesn't reach the convergence tolerance of 1e-6, it writes me this error "Error at host : 6DOF object must have positive mass". But in my UDF, I ask to return some values and I have "3d : Update 6DOF properties DT_THETA_Y:0.000000e+00, My:-0.000000e+00, Mass:1.624241e-03" there are my codes: Code:
#include "udf.h" #include "math.h" DEFINE_SDOF_PROPERTIES(valve2, prop, dt, time, dtime) { #if !RP_HOST prop[SDOF_MASS] = 0.001624241; prop[SDOF_IYY] = 0.000010947; prop[SDOF_ZERO_TRANS_X] = TRUE; prop[SDOF_ZERO_TRANS_Y] = TRUE; prop[SDOF_ZERO_TRANS_Z] = TRUE; prop[SDOF_ZERO_ROT_X] = TRUE; prop[SDOF_ZERO_ROT_Y] = FALSE; prop[SDOF_ZERO_ROT_Z] = TRUE; prop[SDOF_LOAD_M_Y] = 9.81*0.045*sin(DT_THETA (dt)[1])*0.045; printf("\n 3d_2 : Update 6DOF properties DT_THETA_Y:%e, My:%e, Mass:%e\n", DT_THETA (dt)[1],prop[SDOF_LOAD_M_Y], prop[SDOF_MASS]); #endif } Code:
include "udf.h" #include "math.h" DEFINE_SDOF_PROPERTIES(valve1, prop, dt, time, dtime) { #if !RP_HOST prop[SDOF_MASS] = 0.001624241; prop[SDOF_IYY] = 0.000010947; prop[SDOF_ZERO_TRANS_X] = TRUE; prop[SDOF_ZERO_TRANS_Y] = TRUE; prop[SDOF_ZERO_TRANS_Z] = TRUE; prop[SDOF_ZERO_ROT_X] = TRUE; prop[SDOF_ZERO_ROT_Y] = FALSE; prop[SDOF_ZERO_ROT_Z] = TRUE; prop[SDOF_LOAD_M_Y] = -9.81*0.045*sin(DT_THETA (dt)[1])*0.045; printf("\n 3d_1 : Update 6DOF properties DT_THETA_Y:%e, My:%e, Mass:%e\n", DT_THETA (dt)[1],prop[SDOF_LOAD_M_Y], prop[SDOF_MASS]); #endif } Thank you for your help |
|
July 13, 2017, 07:24 |
Error: 6DOF object must have positive mass.
|
#2 |
Member
Mizo
Join Date: Jan 2013
Posts: 34
Rep Power: 13 |
I have the same problem ..
I think the parallelizing is not correct because it works normaly with serial run |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exit Corrected Mass Flow Rate Mesh Sensitivity Study | s__s__s | CFX | 4 | July 20, 2016 12:46 |
Solver for Multispecies Mass Transfer induced Domain growth/shrinkage | MonoC | OpenFOAM Running, Solving & CFD | 1 | March 13, 2016 08:41 |
total mass loss/gain--simulating taylor couette flow | nwpukaka | OpenFOAM Programming & Development | 0 | February 12, 2014 19:57 |
Sequential calculation of Temperature and mass tra | J.W.Ryu | FLUENT | 7 | June 18, 2002 08:12 |