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

Fluent disappears while starting

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 7, 2016, 07:48
Exclamation Fluent disappears while starting
  #1
New Member
 
Join Date: Apr 2015
Posts: 12
Rep Power: 11
sphoenix09 is on a distinguished road
Hi all,

The fluent was working fine earlier without giving any environment variables to run an UDF, but after setting environment variables, i tried to start fluent with SDK, its opens and then disappears leaving behind the cortex error message as follows.

Error [cortex] [time 2/6/16 21:12:3]
C:\PROGRA~1\ANSYSI~1\v150\fluent\fluent15.0.0\cort ex\win64\cx1500.exe received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.

Error [cortex] [time 2/6/16 21:12:5] Cortex received a fatal signal (SEGMENTATION VIOLATION).

Error [cortex] [time 2/6/16 21:13:22]
C:\PROGRA~1\ANSYSI~1\v150\fluent\fluent15.0.0\cort ex\win64\cx1500.exe received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.

Error [cortex] [time 2/6/16 21:19:25]
C:\PROGRA~1\ANSYSI~1\v150\fluent\fluent15.0.0\cort ex\win64\cx1500.exe received fatal signal (ACCESS_VIOLATION)
1. Note exact events leading to error.
2. Save case/data under new name.
3. Exit program and restart to continue.
4. Report error to your distributor.

Error [cortex] [time 2/6/16 21:19:27] Cortex received a fatal signal (SEGMENTATION VIOLATION).


How to solve this problem? Any help would be appreciated

Thank you
sphoenix09 is offline   Reply With Quote

Old   February 8, 2016, 23:33
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Uninstall whichever SDK software you're using (unless you need it for something other than Fluent) and remove the environment variables you've set. Then, install Microsoft Visual Studio Express (free); ensure the version you install is compatible with your Fluent version. If you get stuck, there are a number of threads on this topic as well as the Fluent FAQ page.
`e` is offline   Reply With Quote

Old   February 15, 2016, 12:56
Question Need help - Transient analysis
  #3
New Member
 
Join Date: Apr 2015
Posts: 12
Rep Power: 11
sphoenix09 is on a distinguished road
Thank you for the reply. I installed new VS and SDK and its not giving any error now.

I am newbie to multi phase analysis and simulating a sloshing problem with sinusoidal motion of rectangular and cylindrical tank.

displacement = 0.01*sin(7*time)

I used the following udf to compute. Is this correct udf for such problem?

Code:
#include "udf.h"

#define omega 7
#define a 0.01

DEFINE_SOURCE(xmom_source, c, t, dS, eqn)
{
	real source;
	
	real time=RP_Get_Real("flow-time");
	
	if(time < 10)
	{
		source = - omega * omega * a * sin(omega * time) * C_R(c,t);
		
		dS[eqn] = - omega * tan(omega * time) * C_R(c,t);
	}
	
	else
	
	source = dS[eqn] = 0.0;
	
	return source;
}
here source term is acceleration. I'm not sure about this.

Any help would be appreciated.

Thank you.
sphoenix09 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
Abaqus - Fluent Coupling WITHOUT MPCCI s.mishra FLUENT 1 April 5, 2016 07:47
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
Starting Fluent on multiple machine diamondx FLUENT 0 July 22, 2011 17:41
Master node in parallel computing only distirubtion syadgar FLUENT 1 September 8, 2009 17:41
On Bug of Fluent 12.0 lzgwhy FLUENT 0 August 26, 2009 07:41


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