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

groovy BC time dependent outlet velocity (easy)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2020, 15:17
Default groovy BC time dependent outlet velocity (easy)
  #1
Senior Member
 
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8
joshmccraney is on a distinguished road
Hi FOAMers

I implemented a time-dependent velocity condition at a boundary. From the /U directory, it looks like this

Code:
    outlet
    {
	type groovyBC;
	valueExpression "vector(0,Um*time(),0)";
	variables "Um=100;ome=2*pi/5.5;";
	timelines ();
	value uniform (0 -1 0);
    }
A few questions: what does the vaue uniform (0 -1 0) mean?

This code takes significantly longer than if I use a standard outlet condition of uniform speed -1 (not time dependent). I think the code would run faster if instead of using each timestep I instead used every nth timestep. How can I do this?

EDIT: Actually, nevermind, I think I'll go in a complete different direction here. Don't know how to delete post?
joshmccraney is offline   Reply With Quote

Reply


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
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56
Emergency:UDF for a time dependent parabolic velocity zumaqiong Fluent UDF and Scheme Programming 12 March 25, 2010 12:00


All times are GMT -4. The time now is 11:59.