CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   timeVaryingMappedFixedValues and Epsilon (https://www.cfd-online.com/Forums/openfoam-pre-processing/119963-timevaryingmappedfixedvalues-epsilon.html)

mosquera June 27, 2013 10:59

timeVaryingMappedFixedValues and Epsilon
 
Good afternoon,

I am trying to build a model of a chamber with a flow running through it. To start, I created a 2d mesh in Gambit.

I have experimental data across the inlet of the channel.

I was looking to apply the timeVaryingMappedFixedValues boundary condition to the channel. I created the points file and the corresponding u, k, and epsilon files.

The points file has points at the front, middle, and back of the 2d cells. I realized this was because the BC works off of a plane.

When I run the simulation, I get a floating point exception error. After a lot of debugging and fiddling with the code I believe I narrowed it down to the epsilon file being the issue. If I change the boundary condition at the inlet to fixedValue the code seems to proceed just fine.

What testing or changes can I make to the code to uncover the problem? I'm also open to using another boundary condition that allows me to map my data to the inlet, but I haven't found one.

Thanks,
Matt

mosquera June 27, 2013 13:55

Nevermind, I discovered the problem. I had some bad data imported that was causing the solution to blow up. It's solving now but this issue has been cleared up.

Cheers,
Matt


All times are GMT -4. The time now is 07:45.