|
[Sponsors] |
September 24, 2020, 01:59 |
linux usercode can't renew the force
|
#1 |
New Member
momop
Join Date: Aug 2019
Posts: 5
Rep Power: 6 |
my usercode will renew the force I calculated,it works good on Windows , but I compile it in Linux and put it in Star-CCM+,but the simulation shows that the force I calculated don't appear in the place I want correctly, the place's force always Divergense(10E31),and then output start show Turbulence viscosity limited and reverse flow in outlet ,does anyone have same question?
gcc -Wall -g -fPIC -DDOUBLE_PRECISION -c /home/parallel/Desktop/test/code/uclib.c -o obj/Debug/uclib.o g++ -shared obj/Debug/bodyforce.o obj/Debug/uclib.o -o bin/Debug/libcode.so -Wl,-export-dynamic -ldl -lc I use code blocks to compile the share library, are they correctly? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 18:05 |
interFOAM, how to define body force and force on interface | Prosper | OpenFOAM Pre-Processing | 3 | June 17, 2021 09:56 |
Force on moving body | joechorn | Fluent UDF and Scheme Programming | 5 | April 2, 2015 11:25 |
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF | acasas | CFD Freelancers | 1 | January 23, 2015 07:26 |
Viscous force and coefficient viscous force | tobino | Main CFD Forum | 0 | February 20, 2011 21:06 |