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

uniformFixedValue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2016, 06:17
Unhappy uniformFixedValue
  #1
Member
 
Jack_Landis's Avatar
 
Join Date: Feb 2016
Posts: 32
Rep Power: 10
Jack_Landis is on a distinguished road
Dear all,

I'm using openFoam 2.2.1 on Ubuntu 15.10 and Paraview 3.12.0. I have a 2D square channel with a liquid slug patched at its center (boxToCell) surrounded by air. I want to give a boundary condition on velocity at inlet such that velocity oscillates as a cosine function. I found on the internet that I could do this using uniformFixedValue as I did.

I input this code:

Code:
inlet
    {
    type             uniformFixedValue;
    uniformValue     table
    (
        (0          (0                    0 0))
        (0.1        (0.002964373          0 0))
        (0.2        (0.0048932052        0 0))
        (0.3        (0.0051127001        0 0))
        (0.4        (0.0035461817        0 0))
        (0.5        (0.00074088           0 0))
        (0.6        (-0.0023232323        0 0))
        (0.7        (-0.0045757728        0 0))
        (0.8        (-0.0052298642        0 0))
        (0.9        (-0.0040570136        0 0))
        (1          (-0.0014669314        0 0))
        (1.0471975512    (0                  0 0))
    );
    }
where I think the first number is time and the three numbers are velocity vectors. When I launch the simulation, it gives me no error but when I try to open results in Paraview it tells me: "error reading line 48 of ../0/U: Expected a number, found ( ". Line 48 corresponds to t=0.2. Then, I can visualize volume fraction results but not velocity results.

How can I manage this problem? Am I using uniformFixedValue in a wrong way? Will this error influence my results?

Thank you a lot!

Jacopo
__________________
Omnia per ipsum facta sunt,
et sine ipso factum est nihil,
quod factum est


Jack_Landis is offline   Reply With Quote

Reply

Tags
multiphase, paraview, uniformfixedvalue


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
problem with using uniformFixedValue in OF 2.1.1 amin144 OpenFOAM 3 June 29, 2016 13:22
uniformFixedValue boundary condition meth Main CFD Forum 0 November 4, 2015 23:16
[OpenFOAM] uniformFixedValue with a table -> paraview doesn't show the field nlinder ParaView 11 October 17, 2015 08:05
Boundary conditions definition using uniformFixedValue SF_ OpenFOAM Pre-Processing 0 October 14, 2015 21:06
[mesh manipulation] oscillatingInletACMI2D with dynamicMotionSolverFvMesh Doofy_180 OpenFOAM Meshing & Mesh Conversion 0 June 11, 2015 06:28


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