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

Time Varying Velocity Input

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2022, 14:15
Default Time Varying Velocity Input
  #1
Member
 
Merlin Williams
Join Date: Nov 2021
Posts: 71
Rep Power: 4
MFWilliams is on a distinguished road
Hello,

I am a university student and am very new to OpenFOAM and am having trouble trying to implement a time varying Velocity input.

The goal of what I am trying to do is implement a transient time varying velocity input which will simulate the flow of blood in an artery for three heart beats for an FSI simulation.

For my blood flow I have values of the velocity at time steps of 0.005s and the shape of the waveform, but I do not have a polynomial to describe it.

I have been playing around with the input for the solids4foam tutorial of 'fixed and conformal cylinder in channel' trying to make it a time varying velocity input but it has not worked.

So far I have tried writing a uniformFixedValue boundary condtion but with a table input as shown below:


Inlet
{
type uniformFixedValue;
uniformValue table
(
(0 (0.2517 0 0))
(0.0050 (0.2603 0 0))
(0.0100 (0.2688 0 0))
(0.0150 (0.2774 0 0))

.
.
.
(0.7400 (0.2529 0 0))
(0.7450 (0.2523 0 0))
(0.7500 (0.2517 0 0))
)
}


But this has not worked. Please can somebody advise me if a uniformFixedValue BC is the correct one or how i should implement a time varying velocity when I have the values of the velocity in time. I have also seen some boundary conditions use a tabular format as an input but I am not sure how to make a file with my tabulated values or where in the case I should place it.

I realise this is a lot but I really have no idea what to do and I have had a look at the other threads and they have not really helped, I am desperate, please can somebody help.

Thank you in advance

Merlin




EDIT: I realise I might be trying to implement this BC on the wrong tutorial so if anybody has a case of their own or know of a tutorial on OpenFOAm, foam-extent 4.0 or solids4foam which I could test the BC out on then that would also be very helpful. Also a lot of threads talk about not having the right solver for a certain conditon, I do not know what solver I am using or will be using (but I will be using one which is FSI compatible on solids4foam) so would prefer to have a BC which is pretty compatible with any solver.
MFWilliams is offline   Reply With Quote

Reply

Tags
blood flow, boundary condition, time varying boundary, transient


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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 21:00
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 5, 2023 23:48
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47


All times are GMT -4. The time now is 06:21.