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

[swak4Foam] Variable pressure with crank angle groovyBC

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2017, 05:45
Default Variable pressure with crank angle groovyBC
  #1
New Member
 
Giuseppe
Join Date: Jan 2017
Location: London
Posts: 3
Rep Power: 9
Giuseppe92 is on a distinguished road
Hi guys,
I am new in OpenFoam and I need to change an instruction in a already written boundary condition with groovyBC.

I am using the solver coldEngineFoam in order to simulate a gas spring (a piston compressor without valves).
I want that a value of pressure is variable with time (sinusoidal) in this sub model, now is constant.
In order to do this I need to take the crank angle at the current time step. Anyone knows how to do? I attached a screenshot of the instruction tried by me but it doesn't work.

Thank you in advance.
Attached Images
File Type: jpg groovyBC.JPG (32.7 KB, 10 views)
Giuseppe92 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Crank angle for peak pressure value is not matching.. Pawan30 FLUENT 1 November 23, 2016 02:56
Pressure problems with inlet variable velocity jaimesdiegop CFX 2 September 1, 2016 03:31
Pressure Vs Crank Angle amita FLUENT 1 May 28, 2009 08:20
Variable Operating Pressure (field) Arturo FLUENT 0 April 30, 2008 16:22
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 10:38.