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

Moving volVectorField with constant speed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 18, 2020, 19:06
Default Moving volVectorField with constant speed
  #1
Member
 
James
Join Date: Jan 2014
Posts: 38
Rep Power: 12
Madeinspace is on a distinguished road
Hi,


I have a volVectorField source term in my momentum equation generated by taking integral over all the computational meshes. I initialize this field before the time loop. The source term is fixed in position. So far the implementation works as expected and gives expected results. But now I would like to move this source term with fixed velocity (say 1 mm/s) in positive x-axis. I could calculate and update this field inside time loop at each time step. But calculating at each time step is computationally very expensive. The value of this source term do not significantly change even if I calculate it at each time step so they can be considered constant during simulation. Now all I want is to update the position of this field while assuming the whole field moves at a constant speed in positive x-axis.



Your suggestions are appereciated.


Best regards,
Madeinspace 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
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
Gradually increasing the rotational speed in a moving ref frame problem Mr.Goodcat FLUENT 3 March 16, 2016 06:31
[snappyHexMesh] jagged, ragged edges... ziemowitzima OpenFOAM Meshing & Mesh Conversion 138 July 23, 2012 23:41
Train Speed yeo FLUENT 5 February 14, 2012 08:38
Display of Moving Walls Thomas Huewener FLUENT 1 June 16, 2000 12:15


All times are GMT -4. The time now is 19:34.