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

Reading a file from 32-bit Fluent 15.0 through a UDF for DPM in parallel

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2014, 02:52
Question Reading a file from 32-bit Fluent 15.0 through a UDF for DPM in parallel
  #1
New Member
 
Anthony
Join Date: Jul 2013
Posts: 15
Rep Power: 12
anthony05 is on a distinguished road
Hi everyone,

I am currently having a problem reading an external data file with a UDF - DEFINE_DPM_SOURCE.

I am combining Fluent with another C program made from my university that contains 32 bit lib files. So I have only managed to get this working on 32-bit fluent.

The structure of the program is
-Open data file
-Read data file
-Close data file
-Read mass concentrations in fluid
-Compare with data file
-Create mass source at particle

The problem I have is that when I get the message that the UDF cannot read the data file. This only happens in parallel fluent, the program works perfectly in serial however is too slow. I suspect this problem has to do with different nodes opening the data file at the same time.

For DPM I have the option of Message Passing or Shared Memory.

Shared Memory works but is too slow. Message-passing gives me the error. Hybrid is not available for 32-bit.

Is there any way to parallelize this process? Perhaps there is a way to have different nodes read different data files.

Thanks in advance
anthony05 is offline   Reply With Quote

Reply

Tags
dpm, fluent, parallel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 104 February 16, 2021 09:46
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


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