CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Using results from experiment

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2015, 17:29
Default Using results from experiment
  #1
New Member
 
Hong
Join Date: Nov 2015
Posts: 1
Rep Power: 0
studygroups2000 is on a distinguished road
Hi,

Please I have results from experiment. The results are two .txt files (I got these results from MatLab. Actually these results are two matrices with A(i,j), B(i,j) both are 100*100 ). I want to use these results in Fluent so I need to use C language to connect them to Fluent.

My question is how I can insert these results to below code

original code is

#include "udf.h"
DEFINE_INIT(my_init_func, domain)
{
cell_t c;
Thread *t;
real xc[ND_ND];
/* loop over all cell threads in the domain */
thread_loop_c (t,domain)
{
/* loop over all cells */
begin_c_loop_all (c,t)
{
CX(c,t) = I want to insert result from matrix B(i,j) here
CY(c,t) = I want to insert result from matrix A(i,j) here
end_c_loop_all (c,t)
}
}

}
Thanks
studygroups2000 is offline   Reply With Quote

Reply

Tags
use data from experiment


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM - Validation of Results Ahmed OpenFOAM Running, Solving & CFD 10 May 13, 2018 18:28
Oscillating Airfoil Poor Results at High k (reduced frequency) dancfd OpenFOAM Running, Solving & CFD 3 November 4, 2013 08:32
Creating a tool to interpolate results Luis Batista OpenFOAM Running, Solving & CFD 2 April 11, 2013 08:15
Transient Run - Output "Time" in partial results? evcelica CFX 2 May 16, 2012 21:36
wind tunnel results vs fluent pixie Main CFD Forum 1 August 20, 2009 08:02


All times are GMT -4. The time now is 19:39.