CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Set a phase shift to the sinusoidal veolocity

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2022, 21:38
Default Set a phase shift to the sinusoidal veolocity
New Member
Join Date: Feb 2022
Posts: 19
Rep Power: 3
letoppina is on a distinguished road

I am using OpenFOAM version 6 and chtmultiregionfoam solver. This is my current boundary condition (sinusoidal motion) for the velocity of water region (fluid region):

internalField   uniform (0 0 0);

    #includeEtc "caseDicts/setConstraintTypes"

        type        uniformFixedValue;
    uniformValue sine;
            frequency 0.1;
            amplitude 0.015;
            scale     (0.8 0 0); 
            level     (0 0 0); // offset
            t0          0; // shift this for a Cosinus

        type            zeroGradient;

        type            empty;

        type            noSlip;

If I want to give a phase shift of the sinusoidal waveform (for instance, a 60 degree shift), how can I impose it? (I guess I would have to modify the t0 value but I am not sure how precisely).

Thank you all for your help!
letoppina is offline   Reply With Quote


boundary condition, chtmultiregionfoam, fluid displacement, phase shift, sinusoidal motion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
No Phase Shift with CFX YuguiYo CFX 7 June 28, 2016 12:04
iteration questions in discrete phase iknowjesus FLUENT 4 March 13, 2015 06:07
How to show the transient case? H.P.LIU Phoenics 7 July 13, 2010 04:31
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32
How to set phase dependent turbulence models? J.Yang CFX 2 August 29, 2002 15:39

All times are GMT -4. The time now is 05:00.