|
[Sponsors] |
Using cloud set value of previous time step in boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 5, 2022, 14:13 |
Using cloud set value of previous time step in boundary condition
|
#1 |
Member
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 6 |
HI!
I want to use temperature value of a specific mesh point from previous time step in a boundary condition. I have used cloud set in controlDict functions to get temperature at specific mesh point; however when I'm trying to use this data in defining boundary condition via swak4foam, I'm getting error that the set is not found in table. Valid entries: 0() I'm using this piece of code in groovyBC to get sampled set data: Code:
ceiling { type groovyBC; value uniform 300; variables ( "Tpoint{set'sensor}=average(T);" ); gradientExpression "mag((Tpoint-oldTime(Tpoint))/deltaT())"; } Code:
sensor { type sets; libs (sampling); writeControl timeStep; writeInterval 1; interpolationScheme cellPointFace; setFormat raw; fields ( T ); sets ( sensor { type cloud; axis xyz; points ( (0 0.5 0.5) ); } ); } Thanks |
|
Tags |
sampledset, swak4faom |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
SU2 7.0.7 Built on CentOS 7, parallel computation pyscript mpi exit error? | EternalSeekerX | SU2 | 3 | October 9, 2020 19:28 |
Inconsistencies in reading .dat file during run time in new injection model | Scram_1 | OpenFOAM | 0 | March 23, 2018 23:29 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |