CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Community Contributions

[swak4Foam] Variable pressure with crank angle groovyBC

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

LinkBack Thread Tools Display Modes
Old   February 21, 2017, 05:45
Default Variable pressure with crank angle groovyBC
New Member
Join Date: Jan 2017
Location: London
Posts: 3
Rep Power: 2
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, 6 views)
Giuseppe92 is offline   Reply With Quote


Thread Tools
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 On
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 02:31
Pressure Vs Crank Angle amita FLUENT 1 May 28, 2009 07:20
Variable Operating Pressure (field) Arturo FLUENT 0 April 30, 2008 15: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 14:51.