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

Mapping values to inlet (from samples) with different # of points at each time step

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 26, 2016, 06:16
Question Mapping values to inlet (from samples) with different # of points at each time step
  #1
Member
 
Join Date: Feb 2015
Posts: 39
Rep Power: 11
HenningW is on a distinguished road
Hi everyone,

I have a case with moving airfoils to influence the flow. Since I am not actually interested in the moving airfoils but in their wake, I simulated the moving airfoils and probed the wake with a surface. My plan is to use the results as an input for future simulations at the inlet so I do not need to simulate the airfoils and to avoid a moving mesh. I was able to move the post processing files (surface via probe in OF-Format) files to constant/boundaryData/inlet for each time step and add the correct header (comparable to the example for timeVaryingMappedFixedValue, just for each time step I resolved).

Two questions arose to me:

1. Will OpenFoam interpolate the timesteps inbetween?

2. How do I handle the fact that the amount of points differ between the time steps? So far I used probed via a cutting plane surface. This results in the aforementioned different amout of points and thus in this error:

Quote:
Create time

Create mesh for time = 0

Reading field p



--> FOAM FATAL ERROR:
Number of values (38623) differs from the number of points (38748) in file "./test_inlet_from_slice/constant/boundaryData/inlet/4e-05/p"

From function timeVaryingMappedFixedValueFvPatchField<Type>::che ckTable()
in file fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C at line 425.

FOAM exiting
I put a points file into the folder (from a random time step) of the inlet patch below the folders of each time step (caparable to the tutorial case in incompressible/simpleFoam/pitzDailyExptInlet). I could provide the points file for each time step though, I just have no clue how to make use of it).

Any help to solve this is appreciated. Since the flow is complex i cannot discribe it via GroovyBC though.

Sincerely,

Henning

Last edited by HenningW; August 22, 2016 at 03:55.
HenningW is offline   Reply With Quote

Reply

Tags
boundary conditions, points, sample surface, timevaryingmappedfixedval


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
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
time step directories naming issue Andrea_85 OpenFOAM 3 April 3, 2014 08:38
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 02:34
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56


All times are GMT -4. The time now is 17:54.