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

Groovy BC : time dependent boundary condition from a data table (timelines)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2021, 09:31
Default Groovy BC : time dependent boundary condition from a data table (timelines)
  #1
New Member
 
Jordan EINRICK
Join Date: Jul 2021
Posts: 2
Rep Power: 0
ARC_P&P is on a distinguished road
Hello everyone,



I am actually implementing a simulation in heat transfer with OpenFOAM 8.
The geometry has an interface between the fluid (water) and the solid (iron) exchanging heat through it. Other boundaries are external boundaries on the solid region and are subject to convective heat fluxes with the ambient air.


The main problem is the following, the heat exchange coefficient h in [W/mē/K] is time dependent and profile is stored in a data table. What I managed to do is to read a 'h.data' table and to run the simulation. Here after is the boundary condition on T I inputtedin 0/solid/T on the patch top:


top
{

type groovyBC;
variables "Tinf=350.0;lambda=44.5;";
timelines (
{
name conv;
outOfBounds clamp;
file "h.data";
}
);
gradientExpression "-h*(T-Tinf)/lambda";
fractionExpression "0";
value uniform 400;
}




What brought me to create this thread is that in the log.reconstructPar (parallel simulation) I find the error :


Reconstructing FV fields

Reconstructing volScalarFields

T

--> FOAM FATAL IO ERROR:
keyword name is undefined in dictionary "/home/user/Desktop/testCase/processor0/0.001/solid/T/boundaryField/top/timelines"

file: /home/user/Desktop/testCase/processor0/0.001/solid/T/boundaryField/top/timelines from line 59 to line 60.

From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const
in file db/dictionary/dictionary.C at line 797.

FOAM exiting


So what I understand is that there is a problem with the "timelines" keyword but i don't know why.Therefore, when I open it in paraFoam, I get the time 0 solution, but get a "T (?)" in SolidColor for t>0s.


If you have any hint or piece advice for this matter, please feel free to get in touch

Thank you very much in advance,



Jordan



PS: on the following link https://openfoamwiki.net/index.php/C...oovyBC#wobbler there is an example that inspired me for my boundary condition.

Also concerning this wobbler test case, I couldn't find it on Google.
ARC_P&P is offline   Reply With Quote

Reply

Tags
boundary condition t, groovybc, tablefile, time-varying bc, timelines


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Time dependant pressure boundary condition yosuke1984 OpenFOAM Verification & Validation 3 May 6, 2015 06:16
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


All times are GMT -4. The time now is 13:23.