CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Adding directional forces to OpenFoam 2.3

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2015, 15:18
Default Adding directional forces to OpenFoam 2.3
  #1
New Member
 
Matt Wright
Join Date: Feb 2015
Posts: 5
Rep Power: 11
mattwright1234 is on a distinguished road
Hi,

I'm new to OpenFoam and I'm trying to model Acoustic Streaming using OpenFoam 2.3.0 for my third year undergraduate research project. I'm trying to add forces at different points on the mesh with varying magnitudes and directions that will change the direction and velocity of the flow. Is this possible and if so how can I do this?

Many Thanks

Matt
mattwright1234 is offline   Reply With Quote

Old   February 8, 2015, 16:21
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

You've got several possibilities, depending on your real needs (what was described in your post is too general). You can look at how gravity is implemented in buoyantBoussinesqPimpleFoam (or interFoam). Or you can go with fvOptions, look at pressureGradientExplicitSource as an example, then use codedSource to implement your own.
alexeym is offline   Reply With Quote

Old   February 8, 2015, 17:49
Default
  #3
New Member
 
Matt Wright
Join Date: Feb 2015
Posts: 5
Rep Power: 11
mattwright1234 is on a distinguished road
Sorry, I'll specify more. I'm trying to add reynolds stresses to many different points on a '2D' mesh with different magnitudes and directions. I'm trying to model the flow when it's in a steady state.
mattwright1234 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
[Commercial meshers] Problem with cyclic boundaries in Openfoam 2.3, mesh import from ICEM Scabbard OpenFOAM Meshing & Mesh Conversion 29 October 6, 2020 22:14
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
OpenFOAM Training in Europe and USA hjasak OpenFOAM 0 August 8, 2008 06:33
Strange results from interFoam solution converges but sum of all forces not equal to zero nicasch OpenFOAM Running, Solving & CFD 0 April 15, 2008 03:01
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07


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