|March 10, 2011, 18:21||
Saving boundary conditions to a variable
Join Date: Mar 2011
Posts: 10Rep Power: 6
I am trying to use a custom script (within the Java macro function) to export boundary condition values, but I ran into some trouble. I am trying to use the function similar to the following:
SurfaceIntegralReport surfaceIntegralReport_0 = simulation_0.getReportManager().createReport(Surfa ceIntegralReport.class);
PrimitiveFieldFunction primitiveFieldFunction_0 = ((PrimitiveFieldFunction) simulation_0.getFieldFunctionManager().getFunction ("MassFlux"));
tempValue=surfaceIntegralReport_0.getValue();//Mass flow at inlet
Is anyone able to tell me if I am barking up the wrong tree? I need to save mass fluxes and pressures along inlets and outlets for a fluid flow problem.
Thanks in advance
|March 22, 2011, 09:46||
Join Date: Oct 2009
Posts: 637Rep Power: 13
I didn't understand what your problem is. Maybe you can describe it a little bit more?
One point I was wondering about is where you try to assing a field function to your surface integral report. How should the software know, which field function value the report should give?
|Thread||Thread Starter||Forum||Replies||Last Post|
|Putting Boundary Conditions in ANSYS CFX 12.1||palofpinaki||CFX||7||January 5, 2015 06:51|
|Impinging Jet Boundary Conditions||Anindya||Main CFD Forum||24||January 11, 2012 14:40|
|Algorithm for coupled pde with all flux boundary conditions||benk||Main CFD Forum||3||December 28, 2010 06:09|
|How can I impose variable boundary conditions?||behrang2009||FLUENT||2||December 20, 2009 21:26|
|RPM in Wind Turbine||Pankaj||CFX||9||November 23, 2009 05:05|