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

Projectile moving inside barrel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 24, 2018, 07:34
Default UDF that allowing movement at x direction by Patch Pressure and Temperature
  #1
New Member
 
can özbaran
Join Date: Jan 2018
Posts: 3
Rep Power: 8
cozt is on a distinguished road
Hi

i want to move the projectile in the x direction by implementing patch pressure and temperature at the back of the projectile and using dynamic mesh options.But when i initilaze and then preview the mesh motion i see projectile is not moving.So i guess that it can be caused by three reason.At the dynamic mesh zone section , i set "breech" , "p_out_destruct" boundary conditions as a stationary and set "fluid_mdm_1" fluid zone and "projectile" wall boundary conditions as a rigid body motion.i am using layering mesh method.
First possible reason, i cant see any udf create link when i open six dof options at dynamic mesh options menu(can be seen at fourth photo).Is it cause any problem ?
i think , it is not.Because i am using "prop[SDOF_ZERO_TRANS_X] = TRUE" in my udf code in order to free the movement in X direction instead of opening "one dof translational movement" at Dynamic Mesh/Options/Six DOF menu.
second possible reason is about "patch" section.i identify a region at the back of the projectile and set a pressure and temperature value.Can i make something wrong at this point ?
Third reason , is it required any additional region around the projectile base and front wall (making rigid body motion with projectile wall )
i am sharing picture about my model setup and udf i cant upload ansys document into the forum

i would be very glad if you help me
Attached Images
File Type: jpg 2.jpg (115.7 KB, 31 views)
File Type: jpg 3.jpg (115.7 KB, 28 views)
File Type: jpg 4.jpg (113.6 KB, 27 views)
File Type: jpg 1.jpg (34.8 KB, 28 views)
Attached Files
File Type: c six_dof_udf.c (415 Bytes, 27 views)

Last edited by cozt; October 24, 2018 at 09:13. Reason: specific topic
cozt is offline   Reply With Quote

Old   November 30, 2018, 10:46
Default
  #2
New Member
 
can özbaran
Join Date: Jan 2018
Posts: 3
Rep Power: 8
cozt is on a distinguished road
i solved my problem. if anyone has this kind of problem , they can reach me
cozt is offline   Reply With Quote

Old   April 2, 2019, 11:00
Default
  #3
New Member
 
ozan emre
Join Date: Mar 2019
Posts: 1
Rep Power: 0
crazyhorse is on a distinguished road
Hi, I had the same problem.Can you tell me how you solved?
İsim Can olduğu için Türkçe de yazayım. Aynı sorun bende de oluyor bir türlü çözemedim, nasıl çözdüğünü söylermisin. Bir de sakıncası yoksa karşılaştırmak için kendi udf ve mesh dosyalarını gönderebilirmisin. ozan.emre.1993@gmail.com
Teşekkürler, iyi çalışmalar.
crazyhorse is offline   Reply With Quote

Old   June 11, 2019, 09:32
Default
  #4
New Member
 
Mohsen
Join Date: Jun 2019
Posts: 1
Rep Power: 0
M0h3n is on a distinguished road
Hi.How did you solve it?
M0h3n 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
How to set up an overset mesh ? (Moving square inside a rectangular box) jordan.c STAR-CCM+ 5 September 6, 2019 08:53
How to simulate a sphere moving inside a fluid region jsb12136 STAR-CCM+ 3 April 18, 2015 11:59
[Other] How to set up a dynamic mesh for a piston moving through a tube of variable diameter? karkar OpenFOAM Meshing & Mesh Conversion 0 July 4, 2012 06:54
Modelling the Heat flow inside the curing oven Marios Vlad CFX 1 February 6, 2008 07:11
moving cylinder blur boy Main CFD Forum 4 October 12, 2001 05:32


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