|
[Sponsors] |
error in ansys fluent while solving dynamic mesh problem of moving wall |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 7, 2016, 02:58 |
error in ansys fluent while solving dynamic mesh problem of moving wall
|
#1 |
New Member
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10 |
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 |
|
October 8, 2016, 01:21 |
the solution for nmake error
|
#2 |
New Member
shreehan Abd El-Ghafour
Join Date: Apr 2015
Posts: 12
Rep Power: 11 |
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 |
|
October 24, 2016, 02:10 |
|
#3 |
New Member
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10 |
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 |
|
November 23, 2016, 02:21 |
|
#4 |
New Member
classified
Join Date: Oct 2016
Posts: 10
Rep Power: 10 |
thanks ..sh.a.ghafour
you solved my problem.. Thank you very much |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionSimpleFoam: maximum number of iterations excedeed. | Nkl | OpenFOAM Running, Solving & CFD | 19 | October 10, 2019 03:42 |
How I can introduce my power heat (W) in chtMultiRegionFoam? | aminem | OpenFOAM Pre-Processing | 32 | August 29, 2019 03:23 |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |