CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   TimeVaryingMappedFixedValue (https://www.cfd-online.com/Forums/openfoam-solving/57853-timevaryingmappedfixedvalue.html)

bephi February 10, 2011 08:00

Hello everybody,

my question would be whether it is possible with timeVarryingMappedFixedValue to map solutions from another simulation to the inlet of a new one.

in my case I have different velocity profiles at the outlet of a simple tube (because of an oscillating pressure gradient) and I want to use those U-profiles for a lot of time directories at the inlet of another gemetrie e.g. 0,0.001,0.002,0.003,....

is there a way to achieve this?
greets

markusrehm August 17, 2011 10:14

2 Attachment(s)
Hello,

I successfully used timeVaryingMappedFixedValue but checking the inlet patch I observed that a few faces did not obtain the right values. I added two pictures to illustrate the problem. Any suggestions to get rid of the problem?

Markus

sachinlb December 19, 2012 10:09

timeVaryingMappedFixedValue
 
dear All
how to specify k, epsilon and u boundary condition for timeVaryingMappedFixedValue for inlet. Please answer...
Dr Borse

sachinlb December 19, 2012 10:13

timeVaryingMappedFixedValue.
How to specify boundary condition for k, epsilon and U for timeVaryingMappedFixedValue....I am not able to generate k, epsilon, U fields from already existing boundary fIELDS..
dr borse

KYPCK444 August 27, 2013 17:41

hello everybody,

I'm trying to understand how the pitzDailyExptInlet tutorial (employing timeVaryingMappedFixdValue patch type) works.

I mean, apart from the files points (70 values) and U, k, epsilon (70 values) in boundaryData directory, why does it need nonUniform lists of values (30 values) at inlet for k and epsilon in 0 directory?
why 30 values?
why not a list for 0/U too?

I'm using timeVaryingMappedFixedValue patch at inlet in a channel flow, which uses as inlet boundary condition fields sampled at a certain section of a "preliminar channel flow".
I would like to know if it is sufficient to create a boundaryData directory with points and field files obtained with the sample utility, or if it is needed to include a list of values (how many values?!) in 0/U,p,....

thank you very much in advance :)

mgg May 26, 2014 09:20

Quote:

Originally Posted by markusrehm (Post 320483)
Hello,

I successfully used timeVaryingMappedFixedValue but checking the inlet patch I observed that a few faces did not obtain the right values. I added two pictures to illustrate the problem. Any suggestions to get rid of the problem?

Markus

Hallo Markus,

I also have the same problem with you. I have more points without right values. Did you figure it out?

vonboett July 24, 2014 04:30

Hello,
considering faces that have not the right values: I don't know why but it might help to consider how the geometry is evaluated. We discussed the BC at the OF Stammtisch Zürich and based on boundaryData/PATCH/points, the first point of the file is taken (p1) and a search for the farthest point from p1 is done to gian p2. Then a search is done for the point that is farthest from p2-p1 (=p3). Then a linear interpolation for every face center of the chosen patch is performed, weighted to 3 vertices. So, maybe resorting the point file might solve it?

openfoammaofnepo March 24, 2015 05:43

Hello,

I am also interested in this kind of BC in OF now. In the tutorial simpleFoam/pitzDailyExptInlet/, we have the constant/boundaryData/inlet/points, and there are two parts of the point coordinates: min z and max z.

For max z, why the z coordinate is 0.173. I plot out the geometry using paraview, actually the z is from -0.0005 to 0.0005. So the zmin and zmax for the points on the inlet should be -0.0005 and 0.0005, respectively. What is the problem for my above understanding? Thank you so much.


Quote:

Originally Posted by irishdave (Post 190881)
Hello,

I have been looking at the timeVaryingMappedFixedValue fvPatch. I am currently making a program that will be used to create inlet data. This patch looks to be the perfect solution in order to use the created data within a case. My question is where can I find more documentation on the patch? I want to be able to create the constant/boundaryData/inlet files.

What is contained in the points file and is there an easy way to create one?

Why for the tutorial case simpleFoam/pitzDailyExptInlet/ which uses the BC do the files contain 70 values when the fvPatch faceCells() function returns 30 cells for the case?

I am currently trying to implement a inflow data generator for OpenFOAM which upon completion will be made available open-source to the OpenFOAM community.

Thanks
David


avd28 May 28, 2015 13:37

Points for inlet
 
Hi all,
I'am using OpenFOAM 2.3.0 and want to use the timeVaryingMappedFixedValue condition to control my inlet pressures on the boundary.My question is, how do I extract the points on the inlet surface to include in the points file in the constant/boundaryData/inlet folder?

I'am sorry if this has a fairly obvious answer, I started using OpenFOAM only the past month.

sinhavivekananda318 May 3, 2017 08:59

Is there any alternative of oscillatingFixedValue inlet bc in opnFoam 4.1?
 
hello foamers,

I am trying to give a sinusoidal velocity profile at the inlet. but as I am using openfoam 4.1 , the derived bc's doesn't contain an oscillatingFixedValue bc. I am unable to find out the equivalent one for ofv4.1. Please help me out

vs1 September 19, 2017 12:38

How to switch on debug ?

Eko January 25, 2018 03:03

Hey guys,

I am also looking at the tVMFV boundary condition and thought about using it to set an hourly temperature on my patches.
So I got one question.
Is there a way to do this for the whole patch or do I have to look for the points and give each one a value?

qi.yang@polimi.it June 16, 2021 06:55

Thanks you!


All times are GMT -4. The time now is 15:33.