CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] To apply force on a droplet using funkySetFields

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2015, 05:20
Default To apply force on a droplet using funkySetFields
  #1
New Member
 
Shayan
Join Date: Oct 2014
Posts: 6
Rep Power: 12
Shayansh is on a distinguished road
Dear all,

I am trying to simulate a 2d droplet with external force applied in one particular region in zero gravity. A sketch is attached. I am using interFoam for this purpose.
To apply the force, I assumed funkySetFields is a good option and used it to generate higher pressure in the region that I am interested (0.4<y<0.6).

The command line is as follow:
funkySetFields -fields p_rgh -expression 10 -time 0 - keepPatches -condition"pos().y>0.4 && pos().y<0.6"

However, there is not any significant deformation of the droplet in this region. So I am not sure if this is the correct approach. I would be grateful if you can help.

Best,
Shayan
Attached Images
File Type: jpg droplet with external force.jpg (16.7 KB, 7 views)
Shayansh is offline   Reply With Quote

Old   May 9, 2015, 03:43
Default
  #2
New Member
 
Shayan
Join Date: Oct 2014
Posts: 6
Rep Power: 12
Shayansh is on a distinguished road
Hi there,

So the question was why despite changing the pressure in the initial condition, the solution in later times does not change.

The answer is in every loop pressure is recalculated based on velocity, so even though in the first time step pressure is non-uniform, in the next one it becomes uniform.

At the end, I was able to make the change via initial condition on velocity.

Hope this helps.
Shayan
Shayansh 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
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
body force for moving a droplet s.amirzadeh CFX 3 February 28, 2015 07:40
How to apply a force on structure wzhang11 FLUENT 0 September 1, 2014 08:44
SixDoFRigidBodyMotion under OF2.3 ( self oscillating cylinder) Scabbard OpenFOAM Running, Solving & CFD 1 July 22, 2014 05:50
Time-averaged force in CFX rjmcsherry CFX 2 October 21, 2010 11:34


All times are GMT -4. The time now is 01:28.