CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Blog Entries

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

Old

Updating Boundary Conditions Each Iteration

Posted May 11, 2017 at 09:03 by kindle
Updated June 7, 2017 at 12:13 by kindle

One post downstairs took his "fixed Gradient" to do the update at every time step. But how do I access to the U field of time step before?

Quote:
Originally Posted by thomas99 View Post
Hello All,

I have a situation where I would like to calculate some boundary conditions from the internal field. The problem is that, for each time step, the boundary conditions should be iteratively updated as part of the solution. I have searched the forum and noticed that many people have recommended the groovyBC or swak4Foam
...
New Member
Posted in programming
Views 6 Comments 0 kindle is offline Edit Tags
Old

Plot over line without interpolation

Posted May 10, 2017 at 12:49 by kindle
Updated May 10, 2017 at 13:19 by kindle (cannot find "Use Data Array" for plotting with coordinates value in some version of paraview)

Follow the steps as the following post :
1. Create two "Slice"
2. "Plot Data"
3. In tab Display choose "Cell Data" (when using "plot over line", should you choose this option from defaut "Point Data", the lines will disppear). Here you can choose between "Cell Data" and "Point Data". The former will give more sharp curves as the latter does have some interpolation.

Well, after this post. There is...
New Member
Posted in Post-processing
Views 6 Comments 0 kindle is offline Edit Tags
Old

Binary gives significant performance advantage (Mesh & Solve)

Posted April 28, 2017 at 05:08 by kindle

Well, binary or ascii. Haha

Quote:
Originally Posted by wyldckat View Post
Greetings to all!

OK, only after 6 months did I manage to find enough time to run some tests of my own on a stable machine (mine isn't as stable ).
The results are now available here: https://github.com/wyldckat/wyldckat...nce_Analysis_2

The summary results:
  1. If no file is written, it doesn't matter if it's configured to write in "binary" or "ascii".
  2. Example
...
New Member
Posted in Pre-processing
Views 946 Comments 0 kindle is offline Edit Tags
Old

How to Map Fields in openFOAM using the utility

Posted April 14, 2017 at 11:32 by kindle

simple example for mapFields.

Well, try to map the channel to a smaller channel or some thing else without cyclic BC.

Quote:
Originally Posted by Alhasan View Post
Hey All,

How to use mapping fields function in openFOAM,

-say there are two different case two boxes, one big box and one small box with inlet on one side and outlet on the other side and all the other sides are walls. the small box is within the big box and it is in the right place in space.

-how do i even go about
...
New Member
Views 1238 Comments 0 kindle is offline Edit Tags
Old

Extracting ParaView Data into Python Arrays

Posted April 14, 2017 at 09:00 by kindle

well, more paraview python scripting

Quote:
Originally Posted by Jeffzda View Post
Hi all,

When scripting paraview using python, how do I extract raw tuple data from a 'slice' proxy without first exporting to CSV? I used paraview.servermanager.Fetch() function to retrieve the raw data and it looks like the resulting vtk object contains it but I just can't seem to get the actual DATA! Does anyone know what I can do?

Here's what I've done so far:


>>> from paraview.simple import *
...
New Member
Views 1171 Comments 0 kindle is offline Edit Tags

All times are GMT -4. The time now is 19:48.