|
[Sponsors] |
Create non-uniform internal field values based on a graph or table |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 28, 2023, 09:20 |
Create non-uniform internal field values based on a graph or table
|
#1 |
New Member
Join Date: Dec 2021
Posts: 27
Rep Power: 5 |
Hello friends,
I have created a three-dimensional, rectangular domain with blockMesh and I'd like to set the internal values of a scalar field based on values in a table. The table holds values for the y-direction in the domain and are represented by the graph in the attached image. Here, the vertical axis describes the y-coordinate in the domain and the horizontal axis describes the corresponding value. You could imagine that the table holds the internal values for a single "column of cells" in my domain. Now, I'd like to assign these values to all cell columns. Do you know of an easy way to achieve something like this? I thought this might be a case for swak4foam/setExprFields, but maybe I have to write something completely new for this. Any ideas? Best regards Finn |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Temperqture field not solved in LES - heat transfer - rhopimplefoam | arun1994 | OpenFOAM Pre-Processing | 0 | November 24, 2021 16:13 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 23:38 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
simpleFoam Floating point error (Core Dumped) | sam.ho | OpenFOAM Running, Solving & CFD | 2 | December 31, 2013 07:57 |
[blockMesh] Include list of points | Hikachu | OpenFOAM Meshing & Mesh Conversion | 0 | June 20, 2011 10:03 |