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

error in ansys fluent while solving dynamic mesh problem of moving wall

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By sh.a.ghafour
  • 1 Post By classified

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2016, 01:58
Default error in ansys fluent while solving dynamic mesh problem of moving wall
  #1
New Member
 
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 9
classified is on a distinguished road
Hi
I have written a UDF for solving dynamic mesh problem.the problem is of moving wall. iI have tried the UDF available on internet and also new UDF (written at last of question) but both UDFs are not working. Whenever i try to compile it error occurs in ansys fluent. I am able to build that udf file but cant run it. the following message pops up on my window

'nmake' is not recognized as an internal or external command,
operable program or batch file.
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Done.

Opening library "D:\practice problems\2d dynamic wall\wall_files\dp0\FFF\Fluent\D:\practice problems\2d dynamic wall\wall_files\dp0\FFF\Fluent\libudf"...
Error: The UDF library you are trying to load (D:\practice problems\2d dynamic wall\wall_files\dp0\FFF\Fluent\libudf) is not compiled for 2ddp on the curent platform (win64).
The system cannot find the file specified.



my UDF is as below

#include "udf.h"
DEFINE_CG_MOTION(oscillate,dt,vel,omega,time,dtime )
{
vel[0]=-2;
}


suggest me some thing. thanking you
classified is offline   Reply With Quote

Old   October 8, 2016, 00:21
Thumbs up the solution for nmake error
  #2
New Member
 
shreehan Abd El-Ghafour
Join Date: Apr 2015
Posts: 12
Rep Power: 11
sh.a.ghafour is on a distinguished road
Dear classified,
this problem occurred with me during execution of the dynamic model
this error means that there are some steps you should make it to discard this error:
1- you should setup a full version of Microsoft visual studio (2010 for windows 7 and 2013 for higher windows)
2- if your windows is 7 you should setup SDK7.1 and if your windows is higher you will not need it
3- you must open the fluent from the command prompt window (get it from the start menu)..... write the path of fluent in it as :
cd C:\Program Files\ANSYS Inc\v140\fluent\ntbin\win64
this is an important point "not open the fluent from the workbench"
4- after these steps try to compile the UDF, if the nmake error still appears you should define additional paths for FLUENT, and it is an easy step. I will send you the paths if you will need it
i wish that this reply will help you in your work
Thanks a lot
classified likes this.
sh.a.ghafour is offline   Reply With Quote

Old   October 24, 2016, 01:10
Default
  #3
New Member
 
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 9
classified is on a distinguished road
Hi...I was having problem in installing visual basic. Now I have installed microsoft office visual studio 2015 community.
will it work?
how to work in visual studio 2015?
thank you for your reply
classified is offline   Reply With Quote

Old   November 23, 2016, 01:21
Smile
  #4
New Member
 
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 9
classified is on a distinguished road
thanks ..sh.a.ghafour
you solved my problem.. Thank you very much
sh.a.ghafour likes this.
classified is offline   Reply With Quote

Reply


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
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. Nkl OpenFOAM Running, Solving & CFD 19 October 10, 2019 02:42
How I can introduce my power heat (W) in chtMultiRegionFoam? aminem OpenFOAM Pre-Processing 32 August 29, 2019 02:23
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 02:20
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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