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

Multiphase simulation of friction stir welding

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2020, 08:18
Default Multiphase simulation of friction stir welding
  #1
Member
 
mohammadreza
Join Date: Feb 2020
Posts: 31
Rep Power: 6
mohammadreza_hj is on a distinguished road
Hi everyone

I'm trying to simulate an FSW weld with two different materials.

In this work, I should put heat flux on the wall. This heat flux comes from the multiplication of the friction coefficient and perpendicular pressure.

Because of the difference between the materials' friction coefficient, there will be a difference in heat flux. And I should know that where is which one.

so I'm using C_VOF in my UDF, but because there is not any macro for VOF on a face, I'm using "C_VOF(F_C0(f,t),THREAD_T0(t))", but when I want to initialize the solution fluent crashes out with these messages in the error log file:

Error [node 999999] [time 10/24/20 13:57:27] Abnormal Exit!
Node 0 Fatal signal raised sig = Segmentation fault
Error [node 0] [time 10/23/20 13:47:28] Abnormal Exit!


I should mention that I try both interpreting and compiling schemes for UDF, and both are the same.

The picture of the message before the crashes are also attached.

Can anyone help me or guide me where I'm wrong.

Sincerely
Mohammad Reza
Attached Images
File Type: jpg Screenshot (387).jpg (130.2 KB, 8 views)
mohammadreza_hj is offline   Reply With Quote

Old   November 16, 2020, 08:33
Default Multiphase simulation of friction stir welding
  #2
Member
 
mohammadreza
Join Date: Feb 2020
Posts: 31
Rep Power: 6
mohammadreza_hj is on a distinguished road
I think that there is some problem in my definition, and I put some of the code here :


EFINE_PROFILE(heatflux_slip_shoulder_W, t, i)
{
face_t f;
double pi = 3.1415927;
double w = 1120;
double U = 0.002;
double press = 12700000;
double delta = 0.9;
double etta = 0.7;
double heat_ratio = 0.6383;
begin_f_loop(f,t)
{
double p[ND_ND]; /* this will hold the position vector */
double x, y, r, sigma_6, sigma_5, tav_6, tav_5, tav, fric, qslip, FV;
double temp = F_T(f,t);
FV = C_VOF(F_C0(f,t),THREAD_T0(t));
F_CENTROID(p, f, t);
x = p[0];
y = p[1];
r = sqrt((x*x) + (y*y));

********* for simplicity and not bothering you, I remove the body of code here************

F_PROFILE(f, t, i) = heat_ratio * qslip;
}
end_f_loop(f,t)
}

Sincerely
Mohammad Reza
mohammadreza_hj is offline   Reply With Quote

Old   November 17, 2020, 04:15
Default please somebody answer me
  #3
Member
 
mohammadreza
Join Date: Feb 2020
Posts: 31
Rep Power: 6
mohammadreza_hj is on a distinguished road
I think finally I asked a question that nobody knows the answer to. even the proud senior member of CFD-online like Mr. pakk or another that think the others waste their time and they had something more important than answers questions.
mohammadreza_hj 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
udf for flow behaviour of dissimilar materials in friction stir welding process rohan@123 Fluent UDF and Scheme Programming 1 March 12, 2020 09:45
Friction stir welding simulation sid4512587 FLUENT 2 November 23, 2016 22:05
Multiphase heat exchange simulation efer2109 STAR-CCM+ 1 September 15, 2016 14:22
Analysis of Friction Stir Welding vishnuprakashs Structural Mechanics 0 April 6, 2016 04:23
friction stir welding raj FLUENT 1 December 20, 2009 15:18


All times are GMT -4. The time now is 12:47.