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

CEL Code for Sinusoidal Movement of Piston

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2015, 20:14
Default
  #41
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
For a 3D region you need to define it in your mesh. So you will need to set this up in the meshing software.
ghorrocks is offline   Reply With Quote

Old   May 22, 2015, 10:30
Default
  #42
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
Hi sir,

I considered 3D region, But i am getting an negative volume element. I tried by changing the mesh size, but i am not able to get rid of the error(attached). Can you please suggest some remedy.
Attached Images
File Type: png Capture.PNG (9.9 KB, 27 views)
gbrajtm is offline   Reply With Quote

Old   May 23, 2015, 07:18
Default
  #43
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
FAQ: http://www.cfd-online.com/Wiki/Ansys..._went_wrong.3F
ghorrocks is offline   Reply With Quote

Old   July 4, 2015, 03:30
Default
  #44
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
Hello sir,

Greetings, Hope your are doing great.

After trying many iteration to resolve negative element implementing CEL, now i am getting some results (force vs displacement) need to verify them with experimental results after the completion of test. Hope it will have agreement.
Thank you very much for your kind help.
I will contact you if i get any trouble forth.

Kind Regard's
Guru
gbrajtm is offline   Reply With Quote

Old   July 10, 2015, 09:29
Default
  #45
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
Hello sir,

i wanted to give a boundary condition for bottom of the piston, which is diaphragm with certain elastic constants. Presently i have given wall boundary condition. I searched for elastic boundary condition.

Could you please suggest some remedy, if there is any possibility of modelling it.
gbrajtm is offline   Reply With Quote

Old   July 11, 2015, 07:06
Default
  #46
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Elastic constants? You mean the piston has a diaphragm which deforms? Then this is an FSI simulation, or possibly a moving mesh with the motion prescribed by the force on the diaphragm.
ghorrocks is offline   Reply With Quote

Old   July 13, 2015, 02:50
Default
  #47
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
Sorry, its not diaphragm, its accumulator with certain pressure.
please find the image.
Attached Images
File Type: png MR damper with accumulator.PNG (16.1 KB, 16 views)
gbrajtm is offline   Reply With Quote

Old   July 13, 2015, 08:55
Default
  #48
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If the accumulator piston has no inertia then you can model its motion using CEL expressions in CFX. If the accumulator has inertia you will need to use a rigid body solver.
ghorrocks is offline   Reply With Quote

Old   July 13, 2015, 09:01
Default
  #49
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
yes, but the pressure acting on the accumulator opposite to piston, how can that be specified?
gbrajtm is offline   Reply With Quote

Old   July 13, 2015, 09:09
Default
  #50
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If there is no interia then the piston will move such that the fluid force equals the accumulator pressure force. So the piston location is an algebraic function of the fluid pressure, and you do not need to model the piston or accumulator directly at all.
ghorrocks is offline   Reply With Quote

Old   July 13, 2015, 10:45
Default
  #51
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
i am sorry sir, I didn't understand, "piston location is an algebraic function of the fluid pressure"
gbrajtm is offline   Reply With Quote

Old   July 13, 2015, 19:53
Default
  #52
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It means the Piston location = f(known variables). It is not an ODE or PDE or implicit function.
ghorrocks is offline   Reply With Quote

Old   January 7, 2016, 06:23
Default
  #53
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
CFD.PNGDear sir,

As in attached, I have used solid body as the rigid body. Here i need to specify the two region in an if condition to distinguish Newtonian and Non Newtonian.

Since there are two non newtonian region i am not able to specify it in one if condition. How to specify it?
Previously i used this for one Non Newtonian region.
if(inside@piston == 1,a, 0.11 [kg m^-1 s^-1])
Attached Images
File Type: png Capture.PNG (35.0 KB, 16 views)
gbrajtm is offline   Reply With Quote

Old   January 7, 2016, 19:45
Default
  #54
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In future please start a new thread for a new question.

The easiest way of doing this is as you have done, by making the material properties a function as you have done. Note that this is quite likely to lead to convergence problems as you might get a step change in material properties.

If you are modelling a fluid where it has non-Newtonian behaviour near the piston and Newtonian behaviour away from the piston as the fluid is shear dependant (or something like that) - then I would not use any special model for this at all. Model the entire fluid region with the same non-Newtonian model and it will naturally revert to Newtonian behaviour away from the piston as the shear rate is low.
ghorrocks is offline   Reply With Quote

Old   January 8, 2016, 02:05
Default
  #55
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
ok sir,


http://www.cfd-online.com/Forums/new...=newthread&f=4
gbrajtm is offline   Reply With Quote

Old   January 8, 2016, 02:08
Default
  #56
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
http://www.cfd-online.com/Forums/cfx...tml#post580052
gbrajtm is offline   Reply With Quote

Old   November 1, 2019, 14:17
Default
  #57
New Member
 
Rubel Ahammed
Join Date: May 2019
Posts: 13
Rep Power: 7
Rubel Ahammed is on a distinguished road
Dear Sir, Could you please share your mesh detail with me. I am in negative volume error problem.
Rubel Ahammed is offline   Reply With Quote

Old   November 2, 2019, 05:52
Default
  #58
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It's an FAQ: https://www.cfd-online.com/Wiki/Ansy..._went_wrong.3F
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 4, 2019, 02:37
Default
  #59
Member
 
Dr Gurubasavaraju
Join Date: Dec 2014
Location: Bengaluru India
Posts: 78
Rep Power: 12
gbrajtm is on a distinguished road
Quote:
Originally Posted by Rubel Ahammed View Post
Dear Sir, Could you please share your mesh detail with me. I am in negative volume error problem.
Mesh size dependent on the geometry of the model. I have used the mesh sensitivity check method to choose the mesh size. Also, try to reduce the time step size.
gbrajtm 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
Movement of piston in a cylinder with fluent? Whitworth ANSYS 5 March 4, 2015 00:50
Piston Simulation helloworld922 Autodesk Simulation CFD 1 September 9, 2012 23:54
State of the art in CFD technology Juan Carlos GARCIA SALAS Main CFD Forum 39 November 1, 1999 15:34
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44
What kind of Cmmercial CFD code you feel well? Lans Main CFD Forum 13 October 27, 1998 11:20


All times are GMT -4. The time now is 17:32.